Releases: Ometria/ometria.react_native_sdk
Releases · Ometria/ometria.react_native_sdk
v2.4.1
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
2024-02
- Updated ReactNative to 0.73.2
- Deprecated
onNotificationInteracted
method. UseonNotificationOpenedApp
instead for handling notification interaction. - Deprecated
setBackgroundMessageHandler
Android method. Use the new methodonAndroidBackgroundMessage
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
- 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
Updated example and library to use the latest React Native library version
v2.2.1
Updated example to use the latest React Native and Firebase version
Fixed a warning regarding NativeEventEmitter
v2.2.0
- 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
- Added optional object parameter to
Ometria.initializeWithApiToken()
to allow custom Android notification channel name. Find out more. - Updated readme documentation.
v2.0.0
- 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
- 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
- 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