Skip to content

3.4.0

Latest
Compare
Choose a tag to compare
@Anush-Shand Anush-Shand released this 25 Feb 10:21
69475cf

New Features

Android Specific

  • Supports CleverTap Android SDK v7.1.2.
  • Adds support to hide large icon in android notifications by sending wzrk_hide_large_icon key in notification payload.

iOS Specific

Common for both Android and iOS

  • 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