Releases: OneSignal/OneSignal-Flutter-SDK
Releases · OneSignal/OneSignal-Flutter-SDK
5.0.0-beta1
🚧 Beta release. Please test thoroughly prior to production use. 🚧
OneSignal Flutter 5.0.0-beta1
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
Release 3.5.0
What's Changed
- [Feature] Add iOS Live Activities support in #621 that include 2 methods for associating and deleting a temporary push token with an Activity ID on the OneSignal server.
- Documentation to come
- Example usage:
OneSignal.shared.enterLiveActivity("your_activity_id", "your_token").then((v) {
print("Successfully enter live activity");
}).catchError((error) {
print("Failed to enter live activity with error: $error");
});
OneSignal.shared.exitLiveActivity("your_activity_id").then((v) {
print("Successfully exit live activity");
}).catchError((error) {
print("Failed to exit live activity: $error");
});
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 on4.8.2
Full Changelog: 3.4.2...3.5.0
Release 3.4.2
Release 3.4.1
Native SDK Updates
- Update to OneSignal-Android-SDK 4.8.2
- Fixes a crash related to Amazon AppStore SDK in OneSignal/OneSignal-Android-SDK#1621
Release 3.4.0
What's Changed
- [Feature] Add support for Android 13 Push Permission Prompting in #578
The existingpromptUserForPushNotificationPermission()
method now works for both iOS and Android. In order to utilize this method in Android make sure that your compile and target SDK versions are set to API 33
3.3.2 Release
What's Changed
- [Feature] Add callbacks to the
setLanguage
method in #568
OneSignal.shared.setLanguage("fr").then((response) { // Example of setting the language to French.
print("Successfully set language with response: $response");
}).catchError((error) {
print("Failed to set language with error: $error");
});
Native SDK Updates
- Update to OneSignal-iOS-SDK 3.11.2
Full Changelog: 3.3.1...3.3.2
3.3.1 Release
Native SDK Updates
- Update to OneSignal-Android-SDK 4.7.3
- Includes fix for Xiaomi not foregrounding app when a notification is tapped
- Update to OneSignal-iOS-SDK 3.11.1
3.3.0 Release
Release Notes
- Use
ActivityAware
to get the Activity context which fixes an issue where the app is sensed incorrectly as in the background by @nan-li in #534 - Add in-app message lifecycle handler by @tanaynigam in #531
- Add missing
fallbackToSettings
argument on native iOS side by @slawekkrol in #523 - Add iOS only
setLaunchURLsInApp
function by @nan-li in #542
Native SDK Updates
- Update to OneSignal-Android-SDK 4.7.0
- Update to OneSignal-iOS-SDK 3.10.1
Full Changelog: 3.2.8...3.3.0
3.2.8 Release
Release Notes
- Remove dependency on jcenter by @jkasten2 in #518
- Fix CI issue by @iAmWillShepherd in #524
- Make license file compatible with tools like LicenseBat by @iAmWillShepherd in #527
- Updated to OneSignal-iOS-SDK 3.10.0
- Updated to OneSignal-Android-SDK 4.6.6
- Resolves #494
Full Changelog: 3.2.7...3.2.8
3.2.7 Release
Native SDK Versions Update
- iOS Version 3.9.1
- This fix release adds back arm64 simulator and maccatalyst architectures the OneSignalXCFramework