Releases: OneSignal/react-native-onesignal
Releases · OneSignal/react-native-onesignal
Release 4.4.0
What's Changed
- [Feat] Add Android 13 push permission prompting in #1415
- Push permission prompting on Android 13 devices. In order to not immediately be prompted in Android 13, apps will need to set their Android target SDK version to 33+.
- The method
promptForPushNotificationsWithUserResponsenow has an optionalfallbackToSettingsboolean parameter. Use thefallbackToSettingsparameter to prompt the user to open the settings app if a user has already declined push permissions.
promptForPushNotificationsWithUserResponse(fallbackToSettings?: boolean, handler?: (response: boolean) => void)Native SDK Updates
- Android Native SDK Update to
4.8.1from4.7.3
Full Changelog: 4.3.11...4.4.0
Release 4.3.11
What's Changed
- [Feature] Add callbacks to the
setLanguagemethod in #1400
Native SDK Updates
- Update to OneSignal-iOS-SDK 3.11.2
Full Changelog: 4.3.10...4.3.11
Release 4.3.10
4.3.9 Release
Release 4.3.8
Native SDK Upgrades
Upgrade Android Native to 4.7.2
- includes fixing a crash due to Android 12 changes that can happen when tapping on a notification action button
- fixing the
onSuccesscallback from being invoked too early when setting email or SMS, so that users can callsetExternalUserIdwithin the callback - some other exception fixes.
Upgrade iOS Native to 3.10.3
- includes fixes for in-app messages
- respect the duration since last message trigger for in-app messages
Release 4.3.7
What's Changed
- Fix typescript types for
getTagsandadditionalDataby @lucasfronza in #1358 - Fix: send outcome functions when no handler is set by the user by @nan-li in #1356
Upgrade Android Native to 4.6.7
Upgrade iOS Native to 3.10.1
Full Changelog: 4.3.6...4.3.7
4.3.6 Release
What's Changed
- Add
setLaunchURLsInAppfunction by @rgomezp in #1353 - Upgrade native Android to 4.6.6
Full Changelog: 4.3.5...4.3.6
4.3.5 Release
What's Changed
Update Android Native Version - 4.6.5
- Bump native Android version to OneSignal Android SDK 4.6.5
Full Changelog: 4.3.4...4.3.5
4.3.4 Release
What's Changed
- Update example app by @rgomezp in #1328
- Convert SDK to TypeScript by @nan-li in #1312
- Workaround for duplicate callback invocation issue by @rgomezp in #1334
- Make Android
getTriggerValueForKeyconsistent with iOS by @nan-li in #1335 - Fix: duplicate callback invocation error by @rgomezp in #1341
Update Native Version
iOS Version 3.10.0
- Prevents crashes due to failures when writing downloaded notification attachments (images) to a temporary file location
- Adds OneSignal's CollapseId which is shared with Android corresponds to the identifier property of iOS notifications. If the
collapseIdfield is present on your notifications it can now be read in the corresponding OSNotification object.
Full Changelog: 4.3.3...4.3.4