Releases: Ometria/ometria.react_native_sdk
Releases · Ometria/ometria.react_native_sdk
v2.6.1
2025-06
- Updated Ometria native SDK to versions - 🍏 1.8.2 iOS & 🤖 1.10.3 Android.
- Added new method
trackProfileIdentifiedEvent
. Tracks the current app user being identified by both email, customerId and optionally a storeId. If you don't have one of the values (email or customerId), you can use the alternate versions of this method:trackProfileIdentifiedByEmailEvent(email: string)
ortrackProfileIdentifiedByCustomerIdEvent(customerId: string)
.
Full Changelog: v2.6.0...v2.6.1
v2.6.0
2025-02
- Updated ReactNative to 0.77.0 (Note that the new architecture is not supported yet by the Ometria SDK and you must use the legacy architecture)
- Updated Ometria native SDK to the latest versions - 🍏 1.8.0 iOS & 🤖 1.9.0 Android.
- Added in example an optional way to send the FCM token on app background state, once per week.
Full Changelog: 2.5.0...v2.6.0
v2.5.0
2024-12
- Updated ReactNative to 0.76.4 (Note that the new architecture is not supported yet by the Ometria SDK)
- Updated Ometria native SDK to the latest versions
- Added storeId support
Full Changelog: v2.4.1...v2.5.0
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.