Skip to content

Releases: OneSignal/react-native-onesignal

Release 5.1.1

10 Apr 16:54
0f08d6d
Compare
Choose a tag to compare

🔧 Native SDK Dependency Updates Only

Update Android SDK from 5.1.6 to 5.1.8

Update iOS SDK from 5.1.3 to 5.1.4

Release 4.5.3

26 Mar 21:45
6aca324
Compare
Choose a tag to compare

What's Changed

Release 5.1.0

12 Mar 22:18
4ab7c7b
Compare
Choose a tag to compare

What's Changed

🎉 New Methods 🎉

  • Add getter for onesignalId and externalId and a UserState Observer to be notified of changes in [#1627]
  • Add asynchronous getter methods for Notifications permission and Push Subscription token, id,optedIn in [#1649]
    • 🛑 Deprecated methods 🛑
      • Notifications.hasPermission, User.pushSubscription.id, User.pushSubscription.token, and User.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, and getOptedInAsync.

⚠️ Minor Breaking Change ⚠️

  • 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

  • Bump Android Native Version to 5.1.6
  • Bump iOS Native Version to 5.1.3

Full Changelog: 5.0.6...5.1.0

Release 5.0.6

14 Feb 00:08
1a7cfd4
Compare
Choose a tag to compare

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

30 Jan 23:31
ac3e012
Compare
Choose a tag to compare

What's Changed

⚠️ Behavior Changes ⚠️

  • 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

  • Bump iOS Native Version to 5.1.0
  • Bump Android Native Version to 5.1.2

Full Changelog: 5.0.4...5.0.5

Release 5.0.4

05 Dec 20:00
a6e5c6e
Compare
Choose a tag to compare

What's Changed

  • Fix: prevent addNotificationForegroundLifecycleListener getting called multiple times - #1601
  • Add public getTags method - #1609

Native SDK Updates

Update Android SDK to 5.0.5

Update iOS SDK to 5.0.5

Release 5.0.3

09 Nov 20:37
1320e58
Compare
Choose a tag to compare

What's Changed

  • Fix requestPermission to return false when permission is denied in #1591

Native SDK Updates

Update Android SDK to 5.0.4

Update iOS SDK to 5.0.3

Full Changelog: 5.0.2...5.0.3

Release 5.0.2

06 Oct 23:24
868e5a7
Compare
Choose a tag to compare

Native SDK Updates

Full Changelog: 5.0.1...5.0.2

Release 5.0.1

28 Sep 20:26
94571b6
Compare
Choose a tag to compare

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

  • Updated included Android SDK to 5.0.2
  • Updated included iOS SDK to 5.0.2

Full Changelog: 5.0.0...5.0.1

Release 4.5.2

25 Aug 20:11
14366f0
Compare
Choose a tag to compare

Native iOS SDK Update

Bump native iOS SDK version from 3.12.4 to 3.12.6

Native Android SDK Update

Bump native Android SDK version from 4.8.5 to 4.8.6