Releases: OneSignal/react-native-onesignal
Release 5.0.1
What's Changed Since v5.0.0
🐛 Bug Fixes
- Fix permission listener and permission returning a boolean in #1558
- Fix notification click listener not firing on cold start in #1567
- Add
OneSignal.Notifications.canRequestPermission()
method to Android in #1570
🔧 Maintenance
- Migration guide updates in #1541
Native SDK Updates
Full Changelog: 5.0.0...5.0.1
Release 4.5.2
Native iOS SDK Update
Bump native iOS SDK version from 3.12.4
to 3.12.6
- Fix swizzling subclass of already swizzled class (OneSignal/OneSignal-iOS-SDK#1284)
- Always remove the window when an InApp Message is dismissed (OneSignal/OneSignal-iOS-SDK#1276)
- Make web views inspectable (OneSignal/OneSignal-iOS-SDK#1286) OneSignal/OneSignal-iOS-SDK#1292
- Enable push notifications for iOS simulators (OneSignal/OneSignal-iOS-SDK#1244)
- Fix Crash for In App Message clicks with no id (OneSignal/OneSignal-iOS-SDK#1248)
- Fix tracking influenced opens in firebase (OneSignal/OneSignal-iOS-SDK#1241)
Native Android SDK Update
Bump native Android SDK version from 4.8.5
to 4.8.6
- Add public class CallbackThreadManager (OneSignal/OneSignal-Android-SDK#1776)
- Prevent ANRs when backgrounding app (OneSignal/OneSignal-Android-SDK#1775)
- Bump firebase-messaging dependency version 23 (OneSignal/OneSignal-Android-SDK#1762)
Release 5.0.0
⚠️ This is a major release which contains breaking API changes.
In this major version release for the OneSignal React Native 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.
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- Casing change from
OneSignal.User.PushSubscription
toOneSignal.User.pushSubscription
Native Updates
Updated included Android SDK to 5.0.0
Updated included iOS SDK to 5.0.1
Full Changelog: 5.0.0-beta-02...5.0.0
Release 5.0.0-beta-02
🚧 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-06
Full Changelog: 5.0.0-beta.1...5.0.0-beta-02
[User Model] Release 5.0.0 Beta 1
React Native User Model Release 5.0.0 Beta 1
Migration Guide
Release 4.5.1
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
Release 4.5.0
Native SDK Updates
- Bump native iOS SDK version to
3.12.3
- Adds
enterLiveActivity
andexitLiveActivity
- Adds
Release 4.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 4.4.0
What's Changed
- [Feat] Add Android 13 push permission prompting in #1415
- 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 optionalfallbackToSettings
boolean parameter. Use thefallbackToSettings
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)
Native SDK Updates
- Android Native SDK Update to
4.8.1
from4.7.3
Full Changelog: 4.3.11...4.4.0
Release 4.3.11
What's Changed
- [Feature] Add callbacks to the
setLanguage
method in #1400
Native SDK Updates
- Update to OneSignal-iOS-SDK 3.11.2
Full Changelog: 4.3.10...4.3.11