clevertap-cordova
Advanced tools
Comparing version 2.7.2 to 3.0.0
Change Log | ||
========== | ||
Version 3.0.0 *(April 17, 2024)* | ||
------------------------------------------- | ||
#### New Features | ||
**Android specific** | ||
* Supports [CleverTap Android SDK v6.0.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.0.0_ptv1.2.2). | ||
* Adds support for exoplayer `v2.19.1`. | ||
**iOS specific** | ||
* Supports [CleverTap iOS SDK v6.0.0](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/6.0.0). | ||
**Common for both android and iOS** | ||
* Adds new public APIs, `fetchInApps` and `clearInAppResources` to support client-side in-apps. | ||
#### Bug Fixes | ||
**Android specific** | ||
* Fixes no empty message for app inbox without tabs | ||
* Removes onClickListener for Image of Cover InApp | ||
**iOS specific** | ||
* Fixes a bug where some in-apps were not being dismissed | ||
Version 2.7.2 *(December 5, 2023)* | ||
@@ -4,0 +25,0 @@ ------------------------------------------- |
@@ -52,3 +52,3 @@ # 👩💻 Android Integration | ||
implementation "com.google.firebase:firebase-core:+" | ||
implementation "com.google.firebase:firebase-messaging:22.0.0" | ||
implementation "com.google.firebase:firebase-messaging:23.0.6" | ||
implementation 'androidx.core:core:1.3.0' | ||
@@ -64,5 +64,5 @@ implementation 'androidx.fragment:fragment:1.3.6' | ||
//Optional ExoPlayer Libraries for Audio/Video Inbox Messages. Audio/Video messages will be dropped without these dependencies | ||
implementation 'com.google.android.exoplayer:exoplayer:2.17.1' | ||
implementation 'com.google.android.exoplayer:exoplayer-hls:2.17.1' | ||
implementation 'com.google.android.exoplayer:exoplayer-ui:2.17.1' | ||
implementation 'com.google.android.exoplayer:exoplayer:2.19.1' | ||
implementation 'com.google.android.exoplayer:exoplayer-hls:2.19.1' | ||
implementation 'com.google.android.exoplayer:exoplayer-ui:2.19.1' | ||
// SUB-PROJECT DEPENDENCIES END | ||
@@ -69,0 +69,0 @@ ``` |
{ | ||
"name": "clevertap-cordova", | ||
"version": "2.7.2", | ||
"version": "3.0.0", | ||
"description": "CleverTap Plugin for Cordova/PhoneGap", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -22,4 +22,4 @@ <p align="center"> | ||
- [CleverTap Android SDK version 5.1.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev5.1.0_ptv1.1.0) | ||
- [CleverTap iOS SDK version 5.1.2](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.1.2) | ||
- [CleverTap Android SDK version 6.0.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.0.0_ptv1.2.2) | ||
- [CleverTap iOS SDK version 6.0.0](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/6.0.0) | ||
@@ -26,0 +26,0 @@ ## 🚀 Installation and Quick Start |
@@ -10,3 +10,3 @@ // Copyright (C) 2015 CleverTap | ||
const libName = 'Cordova'; | ||
const libVersion = 20702; | ||
const libVersion = 30000; | ||
cordova.exec(null, null, "CleverTapPlugin", "setLibrary", [libName, libVersion]); | ||
@@ -710,2 +710,19 @@ } | ||
/** | ||
Deletes all images and gifs which are preloaded for inapps in cs mode | ||
@param {expiredOnly} to clear only assets which will not be needed further for inapps | ||
*/ | ||
CleverTap.prototype.clearInAppResources = function (expiredOnly) { | ||
cordova.exec(null, null, "CleverTapPlugin", "clearInAppResources", [expiredOnly]); | ||
} | ||
/** | ||
Fetches In Apps from server. | ||
@param {successCallback} Callback to be invoked when fetching is done. | ||
*/ | ||
CleverTap.prototype.fetchInApps = function(successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "fetchInApps", []); | ||
} | ||
function convertDateToEpochInProperties(items){ | ||
@@ -712,0 +729,0 @@ //Conversion of date object in suitable CleverTap format |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
295203
664
0