Skip to content

Releases: CleverTap/clevertap-react-native

3.8.1

14 Jan 09:33
0cc2214

Choose a tag to compare

What's new

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

22 Dec 10:51
8bbf7de

Choose a tag to compare

What's new

API changes

  • [Android and iOS Platform]
    • Adds a new API variants to 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 with true immediately dismisses any currently visible In-App notification in addition to clearing the queue of pending messages.
      • discardInAppNotifications(dismissInAppIfVisible: Boolean)

3.7.0

03 Oct 09:00
7648504

Choose a tag to compare

What's new

Bug Fixes

  • [Android and iOS Platform]
    • Fixes #480 – an issue where dates were incorrectly parsed for the case-sensitive DOB key.

3.6.0

17 Jul 13:55
134ab5e

Choose a tag to compare

What's new

3.5.0

27 Jun 15:31
d08439d

Choose a tag to compare

What's new

3.4.0

28 Mar 17:32
9458272

Choose a tag to compare

⚠️ NOTE
Please refer to this guide for changed integration steps for Huawei PushProvider for android.

What's new

API changes

  • [Android and iOS Platform]
    • Adds new API to register push tokens
      • pushRegistrationToken(your_token, pushType): Register the token for providers other than FCM. Refer here for example usage.
      • setFCMPushToken(your_token): Register the token for FCM only. Refer here for example usage.
    • 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

17 Mar 11:25
2cf8568

Choose a tag to compare

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 AndroidKeyStore for securely backing up encryption key on API levels 23+.
    • Updates minSdkVersion to API 21 (Android 5.0).

3.2.0

05 Feb 17:51
8aa5721

Choose a tag to compare

What's new

  • 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 event
    • getUserEventLogCount(<eventName>): Get count of times an event occurred
    • getUserLastVisitTs(): Get timestamp of user's last app visit
    • getUserAppLaunchCount(): Get total number of times user has launched the app
    • getUserEventLogHistory(): 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(): Use getUserEventLog() instead for user-specific event details
    • eventGetOccurrences(): Use getUserEventLogCount() instead for user-specific event counts
    • eventGetFirstTime(): Use getUserEventLog() instead for user-specific first occurrence timestamp
    • eventGetLastTime(): Use getUserEventLog() instead for user-specific last occurrence timestamp
    • sessionGetPreviousVisitTime(): Use getUserLastVisitTs() instead for user-specific last visit timestamp
    • sessionGetTotalVisits(): Use getUserAppLaunchCount() instead for user-specific app launch count
    • getEventHistory(): Use getUserEventLogHistory() instead for user-specific event history

3.1.1

06 Nov 10:35
2c2ab96

Choose a tag to compare

Bug Fixes

  • [iOS Platform]
    • Fixes a bug where the push notification callback was getting triggered twice in killed state.

3.1.0

25 Oct 12:32
d0ed9bf

Choose a tag to compare

What's new

  • [Android Platform]

  • [iOS Platform]

  • [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

  • [Android and iOS Platform]
    • Fixes a missing import statement in the index.js file #431
    • Fixes #426