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
- Supports CleverTap iOS SDK v7.1.0.
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 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