OneSignal Cordova SDK Versions Save

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com

5.0.1

8 months ago

What's Changed

Native Updates

Updated included Android SDK to 5.0.2 Updated included iOS SDK to 5.0.2

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/5.0.0...5.0.1

5.0.0

9 months ago

⚠️ This is a major release which contains breaking API changes.

In this major version release for the OneSignal Cordova SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

Note that Identity Verification has not yet been enabled in this version and will be released in a later version

What's Changed Since beta-02

API Updates

  • setLaunchURLsInApp has been removed
  • Rename OneSignal.init to OneSignal.initialize
  • Rename OneSignal.Notifications.permission to OneSignal.Notifications.hasPermission()
  • All observers/listeners updated to use addEventListener and removeEventListener
  • Rename and fix event types passed to developers' listeners
  • Make InAppMessageClickResult.urlTarget a string type and fix iOS so it matches Android
  • Add OneSignal.Notifications.permissionNative() method
  • Add LogLevel enum
  • Add OneSignal.Notifications.canRequestPermission() for Android
  • Export all public types
  • In native bridges, check for existence of callbacks before firing and prevent adding any listener more than once
  • Use promises instead of callbacks for these methods:
    await OneSignal.Location.isShared()
    await OneSignal.Notifications.requestPermission(fallbackToSettings?: boolean)
    await OneSignal.Notifications.canRequestPermission()
    await OneSignal.InAppMessages.getPaused() // which is also renamed from `isPaused`

Native Updates

Updated included Android SDK to 5.0.0 Updated included iOS SDK to 5.0.1

For information please see the migration guide.

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/5.0.0-beta-02...5.0.0

5.0.0-beta-02

11 months ago

🚧 Beta release. Please test thoroughly prior to production use. 🚧

What's Changed Since beta-01

API Updates

Notification, In App Message, and Push Subscription events have been renamed. The migration guide has been updated to reflect the changes.

Native Updates

Updated included Android SDK to 5.0.0-beta4 Updated included iOS SDK to 5.0.0-beta-04

3.3.1

1 year ago

Native iOS SDK Update

Bump native iOS SDK version from 3.12.3 to 3.12.4

  • Fix In App Messages occasionally being displayed twice
  • Fix a OneSignal log ignoring the "None" log level

Native Android SDK Update

Bump native Android SDK version from 4.8.2 to 4.8.5

  • Fix issue which caused groupless notifications to not get cleared if there were at least 4 of them
  • Remove OneSignal gradle plugin from build.gradle files
  • Fix an issue with liquid IAMs when a non-existent tag doesn't show the correct default value.
  • Speculative Fix for WorkManager not Initialized Crash

5.0.0-beta-01

1 year ago

🚧 Beta release. Please test thoroughly prior to production use. 🚧

In this major version beta release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

For information please see the migration guide.

Updated included Android SDK to 5.0.0-beta2 Updated included iOS SDK to 5.0.0-beta-02

If you run into any problems, please don’t hesitate to add to this issue!

3.3.0

1 year ago

What's Changed

  • [Feature] Add iOS Live Activities support in #824 that include 2 methods for associating and deleting a temporary push token with an Activity ID on the OneSignal server.

  • Documentation

  • Example usage:

    window.plugins.OneSignal.enterLiveActivity("activity_id", "token");

    window.plugins.OneSignal.exitLiveActivity("activity_id");

Native SDK Updates

  • Update to OneSignal-iOS-SDK 3.12.3
    • Includes the iOS Live Activities support
  • No Android bump to 4.8.3, the SDK stays on 4.8.2

Full changelog: 3.2.0...3.3.0

3.2.0

1 year ago

What's Changed

  • No longer inject the OneSignal Gradle plugin on Android builds by @brismithers in #811
  • Fix previous incorrect workaround for a TypeScript compiler error by @nan-li in #813

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/3.1.1...3.2.0

3.1.1

1 year ago

What's Changed

Native SDK Updates

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/3.1.0...3.1.1

3.1.0

1 year ago

What's Changed

API Changes ‼️

  • In converting our SDK codebase to TypeScript, some incorrect public interfaces were fixed in https://github.com/OneSignal/OneSignal-Cordova-SDK/pull/798
    • Please see the heading titled "Summary of Public Interface Changes" in the above PR for all the public APIs that have changed and may affect you.

New APIs

  • Add Android 13 push permission prompting in https://github.com/OneSignal/OneSignal-Cordova-SDK/pull/803
    • Push permission prompting on Android 13 devices. In order to not immediately be prompted in Android 13, apps will need to set their Android target SDK version to 33+.
    • The method promptForPushNotificationsWithUserResponse now has an optional fallbackToSettings boolean parameter. Use the fallbackToSettings parameter to prompt the user to open the settings app if a user has already declined push permissions.
promptForPushNotificationsWithUserResponse(fallbackToSettings?: boolean, handler?: (response: boolean) => void)

Updated Native Android and iOS SDKs

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/3.0.4...3.1.0

3.0.4

1 year ago

What's Changed

New APIs

  • setLanguage(language, onSuccess?, onFailure?) #790 Adds optional success and failure callbacks to the setLanguage method.

Fixes

  • Fixes a wrong type for the in-app message object for setInAppMessageLifecycleHandler in #787

Full Changelog: https://github.com/OneSignal/OneSignal-Cordova-SDK/compare/3.0.3...3.0.4