AppsFlyer plugin for Phonegap.
Built against Phonegap 3.3.0.
cordova plugin add https://github.com/m64253/AppsFlyer.git
The supported methods are:
for appInstall please use
window.plugins.appsFlyer.notifyAppID(appId, devKey, callback);
appId
String (Required) App ID provided from AppsFlyerdevKey
String (Required) Dev key provided from AppsFlyercallback
Function (Optional)
for in app events please use
window.plugins.appsFlyer.event(eventName, eventValue, callback);
eventName
String (Required) The event name to define the eventeventValue
String (Optional) The event sales valuecallback
Function (Optional)
window.plugins.appsFlyer.setCurrencyId(currencyId, callback);
currencyId
String (Required) Currency Code (USD is default, GBP, EUR)callback
Function (Optional)
window.plugins.appsFlyer.setCustomeUserId(customeUserId, callback);
customeUserId
String (Required) the custome user id you would like to attach to each conversioncallback
Function (Optional)
window.plugins.appsFlyer.getDeviceId(callback);
callback
Function (Required)
window.plugins.appsFlyer.getConversionData(callback);
callback
Function (Required)