clevertap-cordova
Advanced tools
Comparing version 2.3.4 to 2.3.5
Change Log | ||
========== | ||
Version 2.3.5 *(9th June 2021)* | ||
------------------------------------------- | ||
- Supports CleverTap Android SDK v4.1.1 | ||
- Supports CleverTap iOS SDK v3.9.4 | ||
- Removes Product A/B Testing (Dynamic Variables) code | ||
- Removes `profileSetGraphUser` and `profileSetGooglePlusUser` method | ||
Version 2.3.4 *(27th April 2021)* | ||
@@ -5,0 +12,0 @@ ------------------------------------------- |
{ | ||
"name": "clevertap-cordova", | ||
"version": "2.3.4", | ||
"version": "2.3.5", | ||
"description": "CleverTap Plugin for Cordova/PhoneGap", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -22,4 +22,4 @@ <p align="center"> | ||
- [CleverTap Android SDK version 4.0.2](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/core-v4.0.2) | ||
- [CleverTap iOS SDK version 3.9.2](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/3.9.2) | ||
- [CleverTap Android SDK version 4.1.1](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/core-v4.1.1) | ||
- [CleverTap iOS SDK version 3.9.4](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/3.9.4) | ||
@@ -161,3 +161,3 @@ ## 🚀 Install | ||
Also ensure that your app supports `cordova-android@9.0.0` | ||
Also ensure that your app supports `cordova-android@9.0.0` or above | ||
@@ -216,3 +216,2 @@ ### 2️⃣ Set up and register for push notifications and deep links | ||
document.addEventListener('onCleverTapProductConfigDidActivate', this.onCleverTapProductConfigDidActivate, false); // optional, to check if Product Configs were activated | ||
document.addEventListener('onCleverTapExperimentsUpdated', this.onCleverTapExperimentsUpdated, false); // optional, to check if Dynamic Variable Experiments were updated | ||
document.addEventListener('onCleverTapDisplayUnitsLoaded', this.onCleverTapDisplayUnitsLoaded, false); // optional, to check if Native Display units were loaded | ||
@@ -265,6 +264,2 @@ | ||
onCleverTapExperimentsUpdated: function() { | ||
console.log("onCleverTapExperimentsUpdated"); | ||
}, | ||
onCleverTapDisplayUnitsLoaded: function(e) { | ||
@@ -271,0 +266,0 @@ console.log("onCleverTapDisplayUnitsLoaded"); |
@@ -263,14 +263,2 @@ // Copyright (C) 2015 CleverTap | ||
} | ||
// Set profile attributes from facebook user | ||
// profile = facebook graph user object | ||
CleverTap.prototype.profileSetGraphUser = function (profile) { | ||
cordova.exec(null, null, "CleverTapPlugin", "profileSetGraphUser", [profile]); | ||
} | ||
// Set profile attributes from google plus user | ||
// profile = google plus user object | ||
CleverTap.prototype.profileGooglePlusUser = function (profile) { | ||
cordova.exec(null, null, "CleverTapPlugin", "profileSetGooglePlusUser", [profile]); | ||
} | ||
@@ -452,106 +440,2 @@ // Get User Profile Property | ||
/**************************** | ||
* Dynamic Variables methods | ||
****************************/ | ||
CleverTap.prototype.setUIEditorConnectionEnabled = function(enabled){ | ||
cordova.exec(null, null, "CleverTapPlugin", "setUIEditorConnectionEnabled", [enabled]); | ||
} | ||
CleverTap.prototype.registerBooleanVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerBooleanVariable", [name]); | ||
} | ||
CleverTap.prototype.registerDoubleVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerDoubleVariable", [name]); | ||
} | ||
CleverTap.prototype.registerIntegerVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerIntegerVariable", [name]); | ||
} | ||
CleverTap.prototype.registerStringVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerStringVariable", [name]); | ||
} | ||
CleverTap.prototype.registerListOfBooleanVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerListOfBooleanVariable", [name]); | ||
} | ||
CleverTap.prototype.registerListOfDoubleVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerListOfDoubleVariable", [name]); | ||
} | ||
CleverTap.prototype.registerListOfIntegerVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerListOfIntegerVariable", [name]); | ||
} | ||
CleverTap.prototype.registerListOfStringVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerListOfStringVariable", [name]); | ||
} | ||
CleverTap.prototype.registerMapOfBooleanVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerMapOfBooleanVariable", [name]); | ||
} | ||
CleverTap.prototype.registerMapOfDoubleVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerMapOfDoubleVariable", [name]); | ||
} | ||
CleverTap.prototype.registerMapOfIntegerVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerMapOfIntegerVariable", [name]); | ||
} | ||
CleverTap.prototype.registerMapOfStringVariable = function(name){ | ||
cordova.exec(null, null, "CleverTapPlugin", "registerMapOfStringVariable", [name]); | ||
} | ||
CleverTap.prototype.getBooleanVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getBooleanVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getDoubleVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getDoubleVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getIntegerVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getIntegerVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getStringVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getStringVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getListOfBooleanVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getListOfBooleanVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getListOfDoubleVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getListOfDoubleVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getListOfIntegerVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getListOfIntegerVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getListOfStringVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getListOfStringVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getMapOfBooleanVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getMapOfBooleanVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getMapOfDoubleVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getMapOfDoubleVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getMapOfIntegerVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getMapOfIntegerVariable", [name,defaultValue]); | ||
} | ||
CleverTap.prototype.getMapOfStringVariable = function(name,defaultValue,successCallback){ | ||
cordova.exec(successCallback, null, "CleverTapPlugin", "getMapOfStringVariable", [name,defaultValue]); | ||
} | ||
/**************************** | ||
* Native Display methods | ||
@@ -558,0 +442,0 @@ ****************************/ |
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
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
201462
479
279