Releases: CleverTap/clevertap-react-native
Releases · CleverTap/clevertap-react-native
3.8.1
What's new
- [iOS Platform]
- Supports CleverTap iOS SDK v7.4.2.
Bug Fixes
- [iOS Platform]
- Fixes a bug where DOB value is passed incorrectly when performing profile events.
- Optimizes app initialization sequence by loading variable and variant caches earlier in the startup process.
3.8.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.7.1.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.4.1.
API changes
- [Android and iOS Platform]
- Adds a new API
variantsto fetch A/B experiment variants for the user, enabling easier access to experiment data for custom implementations.variants()
- Adds a new overloaded API for
discardInAppNotifications()method. Calling this withtrueimmediately dismisses any currently visible In-App notification in addition to clearing the queue of pending messages.discardInAppNotifications(dismissInAppIfVisible: Boolean)
- Adds a new API
3.7.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.5.2.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.3.3.
Bug Fixes
- [Android and iOS Platform]
- Fixes #480 – an issue where dates were incorrectly parsed for the case-sensitive
DOBkey.
- Fixes #480 – an issue where dates were incorrectly parsed for the case-sensitive
3.6.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.5.0.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.3.1.
3.5.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.4.1.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.2.1.
3.4.0
⚠️ NOTE
Please refer to this guide for changed integration steps for Huawei PushProvider for android.
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.3.1.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.1.1.
API changes
- [Android and iOS Platform]
- Adds new API to register push tokens
- Removes: The legacy token registration APIs have been removed to make push providers injectable. The above mentioned APIs should be used in it's place. The removed APIs include:
setPushToken(value, type)
3.3.0
Refer to the troubleshoot guide if you encounter any errors while upgrading to this version.
What's new
- [Android Platform]
- Supports CleverTap Android SDK v7.2.2.
- Adds support for Android 15, making it compliant with Android 15 requirements. Details here.
- Upgrades the algorithm used for encryption of PII data, making it compliant with OWASP. Uses
AndroidKeyStorefor securely backing up encryption key on API levels 23+. - Updates
minSdkVersionto API 21 (Android 5.0).
3.2.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.1.2.
- Adds support to hide large icon in android notifications by sending
wzrk_hide_large_iconkey in notification payload.
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.1.0.
-
[Android and iOS Platform]
- Adds support for triggering InApps based on first-time event filtering in multiple triggers. Now you can create campaign triggers that combine recurring and first-time events. For example: Trigger a campaign when "Charged" occurs (every time) OR "App Launched" occurs (first time only).
- Adds new user-level event log tracking system to store and manage user event history. New APIs include:
getUserEventLog(<eventName>): Get details about a specific eventgetUserEventLogCount(<eventName>): Get count of times an event occurredgetUserLastVisitTs(): Get timestamp of user's last app visitgetUserAppLaunchCount(): Get total number of times user has launched the appgetUserEventLogHistory(): Get full event history for current user
API Changes
- Deprecates: The old event tracking APIs tracked events at the device level rather than the user level, making it difficult to maintain accurate user-specific event histories, especially in multi-user scenarios. The following methods have been deprecated in favor of new user-specific event tracking APIs that provide more accurate, user-level analytics. These deprecated methods will be removed in future versions with prior notice:
eventGetDetail(): UsegetUserEventLog()instead for user-specific event detailseventGetOccurrences(): UsegetUserEventLogCount()instead for user-specific event countseventGetFirstTime(): UsegetUserEventLog()instead for user-specific first occurrence timestampeventGetLastTime(): UsegetUserEventLog()instead for user-specific last occurrence timestampsessionGetPreviousVisitTime(): UsegetUserLastVisitTs()instead for user-specific last visit timestampsessionGetTotalVisits(): UsegetUserAppLaunchCount()instead for user-specific app launch countgetEventHistory(): UsegetUserEventLogHistory()instead for user-specific event history
3.1.1
3.1.0
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v7.0.2.
- Adds support for custom handshake domain configuration in android manifest
-
[iOS Platform]
- Supports CleverTap iOS SDK v7.0.2.
- Adds support for custom handshake domains.
-
[Android and iOS Platform]
- Adds support for File Type Variables in Remote Config. Please refer to the Remote Config Variables doc to read more on how to integrate this in your app.
- Adds support for Custom Code Templates. Please refer to the CustomCodeTemplates.md doc to read more on how to integrate this in your app.
- Adds support for custom code in-app templates definitions through a json scheme.
Bug Fixes