cordova-plugin-appsflyer-sdk
Advanced tools
Comparing version 4.2.11 to 4.2.12
{ | ||
"name": "cordova-plugin-appsflyer-sdk", | ||
"version": "4.2.11", | ||
"version": "4.2.12", | ||
"description": "Cordova AppsFlyer SDK Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -34,3 +34,2 @@ | ||
// args.onInstallConversionDataListener = (eventsMap['onInstallConversionData']) ? true: false; | ||
exec(successCB, errorCB, "AppsFlyerPlugin", "initSdk", [args]); | ||
@@ -41,44 +40,4 @@ } | ||
// AppsFlyer.prototype.onInstallConversionDataN = function(callback) { | ||
// console.log("onInstallConversionDataN is called" ); | ||
// const listener = NativeAppEventEmitter.addListener('onInstallConversionData', | ||
// function(_data){ | ||
// if(callback && typeof(callback) === typeof(Function)){ | ||
// try{ | ||
// let data = JSON.parse(_data); | ||
// callback(data); | ||
// } | ||
// catch(_error){ | ||
// callback(new AFParseJSONException("Invalid data structure", _data)); | ||
// } | ||
// } | ||
// } | ||
// ); | ||
// }; | ||
// AppsFlyer.prototype.onInstallConversionData = function (conversionData) { | ||
// console.log("onInstallConversionData is called" ); | ||
// var data = conversionData,event; | ||
// if (typeof data === "string") { | ||
// data = JSON.parse(conversionData); | ||
// } | ||
// event = new CustomEvent('onInstallConversionData', {'detail': data}); | ||
// global.document.dispatchEvent(event); | ||
// eventsMap['onInstallConversionData'] = listener; | ||
// // unregister listener | ||
// return function remove() { | ||
// console.log("onInstallConversionData listener.remove()" ); | ||
// listener.remove(); | ||
// }; | ||
// }; | ||
AppsFlyer.prototype.setCurrencyCode = function (currencyId) { | ||
@@ -135,8 +94,2 @@ argscheck.checkArgs('S', 'AppsFlyer.setCurrencyCode', arguments); | ||
function AFParseJSONException(_message, _data) { | ||
this.message = _message; | ||
this.data = _data; | ||
this.name = "AFParseJSONException"; | ||
} | ||
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
2091464
275