npm react-native-onesignal 5.3.0

one day ago

Channels: Current

🎉 Custom Events Support

This release introduces Custom Events support for the react native sdk.

Please see documentation on Custom Events.

🚀 New Features

  • feat: add custom events support (#1903)

🛠️ Native Dependency Updates

  • Update Android SDK from 5.4.2 to 5.6.1
    • fix: custom events now handle null object within the event properties (OneSignal/OneSignal-Android-SDK#2537)
    • feat: 🎉 introduces Custom Events Support for the Android SDK. To get started with using Custom Events, please contact support@onesignal.com to enable this feature for your app. Please see documentation on Custom Events.
    • feat: IAMs now display when triggers added before first fetch (#2528)
    • fix: end initialization early if device storage is locked (#2520)

    • feature: Exposing accessors thru suspend (#2502)
    • fix: a rare NPE from PermissionViewModel introduced in 5.4.0 (#2504)
    • fix: NPE in SyncJobService since 5.4 (#2500)
    • fix: Rare User and Subscription creates and updates processing out of order (introduced in 5.4.0) (#2419)
    • fix: Remove throwing "initWithContext was not called or timed out", introduced in 5.4.0 (#2408)
    • Improvement: failure message shows that appID is missing (#2506)
    • improvement: Offloaded work on background threads. (#2394)

  • Update iOS SDK from 5.2.16 to 5.4.0
    • feat: IAMs now display when triggers added before first fetch (OneSignal-iOS-SDK#1635)
    • fix: use locale-independent formatting for purchase prices (OneSignal-iOS-SDK#1634)
    • It is recommended to test this beta version with a new iOS-only app, as Identity Verification is not yet supported on the OneSignal Android and Web SDKs.
    • Enabling Identity Verification in the dashboard will affect all existing app installations using the OneSignal user model SDKs.
    • Please test thoroughly prior to production use, and reach out with any questions, feedback, or concerns.
    • While emails and sms numbers can be added using the SDK, removing them is not yet supported.
    • Live Activities is not yet supported.
    • Rebased to 5.2.14 for more bug fixes and stability improvement.
    • add public log listener methods (see PR for usage) #1576
    • It is recommended to test this beta version with a new iOS-only app, as Identity Verification is not yet supported on the OneSignal Android and Web SDKs.
    • Enabling Identity Verification in the dashboard will affect all existing app installations using the OneSignal user model SDKs.
    • Please test thoroughly prior to production use, and reach out with any questions, feedback, or concerns.
    • While emails and sms numbers can be added using the SDK, removing them is not yet supported.
    • Live Activities is not yet supported.

Don't miss a new react-native-onesignal release

NewReleases is sending notifications on new releases.