Skip to content

Releases: OneSignal/OneSignal-Cordova-SDK

3.2.0 Release

20 Sep 20:07
d137b92
Compare
Choose a tag to compare

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: 3.1.1...3.2.0

3.1.1 Release

18 Aug 02:15
43b2458
Compare
Choose a tag to compare

What's Changed

  • export OneSignalPlugin so it can be imported in consumer typescript code by @wilgert in #806
    • This was already available on versions before 3.1.0.

Native SDK Updates

Full Changelog: 3.1.0...3.1.1

3.1.0 Release

28 Jul 22:10
79ec80b
Compare
Choose a tag to compare

What's Changed

API Changes ‼️

  • In converting our SDK codebase to TypeScript, some incorrect public interfaces were fixed in #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 #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: 3.0.4...3.1.0

3.0.4 Release

06 Jun 21:01
721521a
Compare
Choose a tag to compare

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: 3.0.3...3.0.4

3.0.3 Release

25 May 18:11
3b35f4c
Compare
Choose a tag to compare

What's Changed

New APIs

  • setLaunchURLsInApp
    This method can be used to set if launch URLs should be opened in Safari or within the application. The default value is true which opens an in-app browser. Setting this to false will open in Safari or user's default browser if different. #774

  • setInAppMessageLifecycleHandler(InAppMessageLifecycleHandlerObject handlerObject) #782
    Use this handler to be notified about an In App Message's lifecycle with the following methods

export interface OSInAppMessage {
    messageId : string
}

export interface InAppMessageLifecycleHandlerObject {
    onWillDisplayInAppMessage       ?: (message: InAppMessage) => void;
    onDidDisplayInAppMessage        ?: (message: InAppMessage) => void;
    onWillDismissInAppMessage       ?: (message: InAppMessage) => void;
    onDidDismissInAppMessage        ?: (message: InAppMessage) => void;
}

Updated Native Android and iOS SDKs

Full Changelog: 3.0.2...3.0.3

3.0.2 Release

28 Feb 19:40
7d45a5f
Compare
Choose a tag to compare

What's Changed

TypeScript Fixes

Updated Native Android and iOS SDKs

Full Changelog: 3.0.1...3.0.2

3.0.1 Release

17 Nov 07:21
5372e15
Compare
Choose a tag to compare

Release Notes

What's Changed

  • This version fully supports Android 12 and apps that target Android API Level 31.
  • Add relevanceScore and interruptionLevel to OSNotification (#731)
  • Update some type signatures as callbacks instead of Promise (#744)
  • Fix naming bug (#747)
  • Update Cocoapods' source URL to use CDN (#749)

Updated Native Android (4.6.3) and iOS (3.9.1) SDKs

3.0.0 Release

06 Aug 20:34
0c873a9
Compare
Choose a tag to compare

Major Release 3.0.0

⚠️This is a major release that contains breaking API changes. ⚠️
See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

Some highlights for this release

3.0.0 Beta3

13 Jul 23:59
Compare
Choose a tag to compare

Major Release 3.0.0 Beta3🛠️

⚠️ This is a major beta release that contains breaking API changes.
See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

❓ Please provide feedback and bug reports with the beta version included in the title to this repo's issue tracker.
https://github.com/OneSignal/OneSignal-Cordova-SDK/issues

Some highlights for this release

  • Update Android version up to 4.4.1, a bunch of bug fixing included
  • Update iOS version from 3.4.3 to 3.5.3
  • Remove framework deprecated config, replace framework type="podspec" with podspec config #716
  • Standardize Notification raw payload type between Android and iOS to object #716

3.0.0 Beta2

17 Jun 20:04
Compare
Choose a tag to compare

Major Release 3.0.0 Beta2🛠️

⚠️ This is a major beta release that contains breaking API changes.
See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

❓ Please provide feedback and bug reports with the beta version included in the title to this repo's issue tracker.
https://github.com/OneSignal/OneSignal-Cordova-SDK/issues

Some highlights for this release

  • Typescript support added #704