Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clevertap): support clevertap-cordova 3.4.0 #4917

Open
wants to merge 51 commits into
base: master
Choose a base branch
from

Conversation

Anush-Shand
Copy link
Contributor

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

pwilkniss and others added 30 commits July 25, 2018 19:30
fix: Remove unnecessary adder .scripts Folder

fix: Remove unwanted added folder .circleci

fix: Remove unwanted added File .npmrc

fix: Revert .Github Folder Changes to as per Ionic-Native master

fix: Update changes as per ionic-native master
…a-plugins into danielsogl-master

# Conflicts:
#	src/@awesome-cordova-plugins/plugins/clevertap/index.ts
piyush-kukadiya and others added 21 commits December 30, 2022 16:02
Update index.ts to support cordova 2.7.0
- Adds 2 new APIs = clearInAppResources() and fetchInApps()
task(SDK-3757) - Add support for cordova v3.0.0
….2.0

task(SDK-3757) - Add support for cordova v3.2.0
- Custom Templates
- File Variables
- Multi Triggers
- Deprecates older APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants