Skip to content

Releases: Ometria/ometria.react_native_sdk

v2.4.1

19 Jun 06:21
Compare
Choose a tag to compare

2024-06

Updated ReactNative to 0.74.2
Updated Ometria native SDK to the latest versions - 🍏 1.6.0 iOS & 🤖 1.7.0 Android.

Full Changelog: v2.4.0...v2.4.1

v2.4.0

22 Feb 17:20
Compare
Choose a tag to compare

2024-02

  • Updated ReactNative to 0.73.2
  • Deprecated onNotificationInteracted method. Use onNotificationOpenedApp instead for handling notification interaction.
  • Deprecated setBackgroundMessageHandlerAndroid method. Use the new method onAndroidBackgroundMessage to handle background messages on Android.
  • Changed onNotificationOpenedApp signature to include the remote message object as a parameter for better compatibility with the native SDK.
  • Updated Ometria native SDK to the latest versions - 🍏 1.5.1 iOS & 🤖 1.6.2 Android. Both SDK support quit app state notification handling.

v2.3.0

17 Nov 14:08
Compare
Choose a tag to compare
  • Changed the way notifications are handled on Android
  • Updated example with request for notifications permission on Android 13
  • Fixed Notification trampoline (Android 12+)
  • Upated example and library to use updated React Native library version (0.71.13)
  • Updated Ometria native SDK to the latest versions - 🍏 1.5.0 iOS & :robot_face: 1.6.1 Android. Both SDK support now reinitialisation.

v2.2.2

28 Jul 04:08
Compare
Choose a tag to compare

Updated example and library to use the latest React Native library version

v2.2.1

25 May 07:33
Compare
Choose a tag to compare

Updated example to use the latest React Native and Firebase version
Fixed a warning regarding NativeEventEmitter

v2.2.0

17 Nov 09:56
Compare
Choose a tag to compare
  • Added id property to OmetriaBasket object
  • Added variantId to OmetriaBasketItem object
  • Added library in-line method documentation
  • Deprecated wishlist events methods
  • Changed example to use Firebase 9.x
  • Fixed TypeScript OmetriaBasketItem model to match the SDK (sku is now optional)

v2.1.0

01 Aug 11:27
Compare
Choose a tag to compare
  • Added optional object parameter to Ometria.initializeWithApiToken() to allow custom Android notification channel name. Find out more.
  • Updated readme documentation.

v2.0.0

29 Jul 14:46
Compare
Choose a tag to compare
  • Changed Ometria.onNotificationInterracted() to be called with a callback now, instead as a promise. Find out more.
  • Changed Ometria.onNewToken() to be called on iOS as well (not only on Android) on FB token generation/refresh. Find out more.
  • Updated readme documentation here and here.
  • Updated sample app code.

v1.2.2

21 Feb 11:04
Compare
Choose a tag to compare
  • Updated README.md
  • Updated native Ometria SDK dependency to version 1.2.2
  • Implemented sending React Native SDK version to backend for more clear visibility of issues.
  • Implemented functionality to properly support Firebase SDK v8.x
  • We discovered an issue with Firebase push token retrieval, which also affected Ometria SDK in some scenarios. Please consult the documentation if you are using any Firebase SDK version from 8.0 to 8.10.

v1.2.1

08 Nov 16:23
Compare
Choose a tag to compare
  • Removed bob package to fix typescript generation issues.
  • Added support for yarn berry.
  • Updated native Ometria SDK dependency to version 1.2.1
  • Added functionality to expose content received in notifications from Ometria
  • Updated sample application with new functionality of the SDK
  • Updated README.md