Releases: OneSignal/react-native-onesignal
Releases · OneSignal/react-native-onesignal
Release 5.1.1
🔧 Native SDK Dependency Updates Only
Update Android SDK from 5.1.6
to 5.1.8
- Fix crash with EventProducer's fire events in OneSignal/OneSignal-Android-SDK#2034
- 🔋 Battery improvements
- Possibly resolves issues of "Egregious levels of battery drain"
- Prevent OperationRepo from continuously pulling when empty (OneSignal/OneSignal-Android-SDK#2033)
- Add backoff to OperationRepo when retrying network calls (OneSignal/OneSignal-Android-SDK#2017)
- Limit refresh User and GET IAMs to foreground (OneSignal/OneSignal-Android-SDK#2036)
- Fixes network call batching not waiting the full 5 seconds in most cases to reduce the total number of REST API calls to OneSignal.
- Issue with external_id being skipped and updates stop if something updates the User (such as addTag) shortly before login is called OneSignal/OneSignal-Android-SDK#2046
- For full changes, see the native release notes
Update iOS SDK from 5.1.3
to 5.1.4
- 5.1.4 Release Notes
- The XCFrameworks in this release is signed to help keep your apps secure
- Fix rare scenario where login requests are stuck and prevent the SDK from making updates (OneSignal/OneSignal-iOS-SDK#1398)
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)