Skip to content

Releases: OneSignal/react-native-onesignal

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

Release 5.0.0

18 Aug 21:52
c1d611c
Compare
Choose a tag to compare

⚠️ 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 to OneSignal.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

25 Jul 02:29
76bd5b7
Compare
Choose a tag to compare
Release 5.0.0-beta-02 Pre-release
Pre-release

🚧 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