React Native Library for OneSignal Push Notifications Service
🐛 Bug Fixes
OneSignal.Notifications.canRequestPermission()
method to Android in https://github.com/OneSignal/react-native-onesignal/pull/1570
🔧 Maintenance
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.0...5.0.1
Bump native iOS SDK version from 3.12.4
to 3.12.6
Bump native Android SDK version from 4.8.5
to 4.8.6
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
setLaunchURLsInApp
has been removedOneSignal.User.PushSubscription
to OneSignal.User.pushSubscription
Updated included Android SDK to 5.0.0 Updated included iOS SDK to 5.0.1
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.0-beta-02...5.0.0
🚧 Beta release. Please test thoroughly prior to production use. 🚧
Notification, In App Message, and Push Subscription events have been renamed. The migration guide has been updated to reflect the changes.
Updated included Android SDK to 5.0.0-beta4 Updated included iOS SDK to 5.0.0-beta-06
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.0-beta.1...5.0.0-beta-02
React Native User Model Release 5.0.0 Beta 1 Migration Guide
Bump native iOS SDK version from 3.12.3
to 3.12.4
Bump native Android SDK version from 4.8.2
to 4.8.5
promptForPushNotificationsWithUserResponse
now has an optional fallbackToSettings
boolean parameter. Use the fallbackToSettings
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)
4.8.1
from 4.7.3
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/4.3.11...4.4.0
setLanguage
method in https://github.com/OneSignal/react-native-onesignal/pull/1400
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/4.3.10...4.3.11