React Native Library for OneSignal Push Notifications Service
Update Android SDK from 5.1.8
to 5.1.9
AndroidManifest
options to override In-App Messages gray overlay and dropshadow
<meta-data android:name="com.onesignal.inAppMessageHideGrayOverlay" android:value="true"/>
<meta-data android:name="com.onesignal.inAppMessageHideDropShadow" android:value="true"/>
Update iOS SDK from 5.1.4
to 5.1.5
plist
option to disable itplist
option to override and hide the gray overlay to In-App MessagesOneSignal_in_app_message_hide_gray_overlay
OneSignal_in_app_message_hide_drop_shadow
Update Android SDK from 5.1.6
to 5.1.8
Update iOS SDK from 5.1.3
to 5.1.4
🎉 New Methods 🎉
onesignalId
and externalId
and a UserState Observer to be notified of changes in [#1627]
permission
and Push Subscription token
, id
,optedIn
in [#1649]
Notifications.hasPermission
, User.pushSubscription.id
, User.pushSubscription.token
, and User.pushSubscription.optedIn
are now deprecated but non-breaking.getPermissionAsync
, getIdAsync
, getTokenAsync
, and getOptedInAsync
.⚠️ Minor Breaking Change ⚠️
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.6...5.1.0
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.5...5.0.6
⚠️ Behavior Changes ⚠️
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.4...5.0.5
requestPermission
to return false
when permission is denied in https://github.com/OneSignal/react-native-onesignal/pull/1591
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.2...5.0.3
Full Changelog: https://github.com/OneSignal/react-native-onesignal/compare/5.0.1...5.0.2
🐛 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