Releases: OneSignal/OneSignal-Cordova-SDK
3.0.4 Release
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
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
- Android Native SDK Update to
4.7.3
from4.6.7
- iOS Native SDK Update to
3.11.1
from3.10.1
Full Changelog: 3.0.2...3.0.3
3.0.2 Release
What's Changed
TypeScript Fixes
- Fix TypeScript types by @nunoarruda in #762
- Fix type DeviceState by @osben in #763
Updated Native Android and iOS SDKs
- Android Native SDK Update to
4.6.7
from4.6.3
- iOS Native SDK Update to
3.10.1
from3.9.1
Full Changelog: 3.0.1...3.0.2
3.0.1 Release
Release Notes
What's Changed
- This version fully supports Android 12 and apps that target Android API Level 31.
- Add
relevanceScore
andinterruptionLevel
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
- Android Native SDK Update
4.6.3
- iOS Native SDK Update
3.9.1
3.0.0 Release
Major Release 3.0.0
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
- Simplified initialization with improved defaults
- New handleNotificationWillShowInForeground
- Update Android version from 3.16.0 to 4.4.2, a bunch of bug fixing included
- Updated from "Android Support Library" to AndroidX / Jetpack , provides better compatibility with other libraries.
- Update iOS version from 2.16.5 to 3.6.0
- See the full list of changes in the Cordova - 3.0 API Reference
3.0.0 Beta3
Major Release 3.0.0 Beta3🛠️
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
- Added new didReceiveNotificationExtensionRequest method, deprecate old one OneSignal/OneSignal-iOS-SDK#934
- 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
Major Release 3.0.0 Beta2🛠️
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
2.11.4 Release
FCM 22.0.0 Compatibility fix & OneSignal Native Library updates
- Updated to native OneSignal-Android-SDK 3.16.0
- Fixes Compatibility with FCM (Firebase Messaging) 22.0.0.
- Fixes
Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;
error.
- Fixes
- Fixes Compatibility with FCM (Firebase Messaging) 22.0.0.
- Updated to native OneSignal-iOS-SDK 2.16.5
3.0.0 Beta1
Major Release 3.0.0 Beta1🛠️
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
2.11.3 Release
Release Notes
Updated Native Android (3.15.7
) and iOS (2.16.2
) SDKs
- Android Native SDK Update
3.15.7
- iOS Native SDK Update
2.16.1