Releases: OneSignal/react-native-onesignal
Release 4.5.3
What's Changed
- Updated included Android SDK from 4.8.6 to 4.8.8
- For full changes, see the native release notes
- Updated included iOS SDK from 3.12.6 to 3.12.9
- Added privacy manifests
- For full changes, see the native release notes
Release 5.1.0
What's Changed
🎉 New Methods 🎉
- Add getter for
onesignalId
andexternalId
and a UserState Observer to be notified of changes in [#1627]- See the User Namespace API Reference in the Migration Guide for usage
- Add asynchronous getter methods for Notifications
permission
and Push Subscriptiontoken
,id
,optedIn
in [#1649]- 🛑 Deprecated methods 🛑
Notifications.hasPermission
,User.pushSubscription.id
,User.pushSubscription.token
, andUser.pushSubscription.optedIn
are now deprecated but non-breaking.
- See the Push Subscription Namespace API Reference and Notifications Namespace API Reference in the Migration Guide for usage of new methods
getPermissionAsync
,getIdAsync
,getTokenAsync
, andgetOptedInAsync
.
- 🛑 Deprecated methods 🛑
- API update for PushSubscriptionState: the Push Subscription observer will now be passed nullable properties. Please account for the possibility of the push subscription token and id being null.
Native Changes
Full Changelog: 5.0.6...5.1.0
Release 5.0.6
What's Changed
Bug Fixes
- fix/error removing handlers when SDK is not initialized #1639
Native SDK Updates
- Bump Android Native Version to 5.1.4
Full Changelog: 5.0.5...5.0.6
Release 5.0.5
What's Changed
- Location sharing with OneSignal now defaults to false: You will need to explicitly enable location sharing with OneSignal with OneSignal.Location.setShared(true)
Native SDK Updates
Full Changelog: 5.0.4...5.0.5
Release 5.0.4
Release 5.0.3
What's Changed
- Fix
requestPermission
to returnfalse
when permission is denied in #1591
Native SDK Updates
Update Android SDK to 5.0.4
- Update PropertiesModel's deserialization of tags to not use Model.initializeFromJson in OneSignal/OneSignal-Android-SDK#1884
- Retrieve current ADM PurchasingListener assuming it returns a nullable. in OneSignal/OneSignal-Android-SDK#1888
- Fix: Add synchronized blocks to prevent ConcurrentModificationException in OneSignal/OneSignal-Android-SDK#1876
- Update work-runtime dependency version in OneSignal/OneSignal-Android-SDK#1890
- General protection against exceptions that occur on a thread. in OneSignal/OneSignal-Android-SDK#1887
Update iOS SDK to 5.0.3
- Fix badge clearing when calling clearAll in OneSignal/OneSignal-iOS-SDK#1335
- Fix crash with direct influence but nil direct id OneSignal/OneSignal-iOS-SDK#1327
- Fix forwarding notification opens from non onesignal notifs OneSignal/OneSignal-iOS-SDK#1326
Full Changelog: 5.0.2...5.0.3
Release 5.0.2
Native SDK Updates
- Updated included Android SDK to 5.0.3
- Fix Amazon purchase tracking setup in OneSignal/OneSignal-Android-SDK#1860
- Fix IAMs showing erroneously on every cold start in OneSignal/OneSignal-Android-SDK#1863
Full Changelog: 5.0.1...5.0.2
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