cordova-plugin-appsflyer-sdk
Advanced tools
Comparing version 4.2.18 to 4.2.19
{ | ||
"name": "cordova-plugin-appsflyer-sdk", | ||
"version": "4.2.18", | ||
"version": "4.2.19", | ||
"description": "Cordova AppsFlyer SDK Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -30,2 +30,3 @@ <img src="https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg" width="200"> | ||
- [setAppUserId](#setAppUserId) | ||
- [enableUninstallTracking](#enableUninstallTracking) | ||
- [setGCMProjectID](#setGCMProjectID) | ||
@@ -48,3 +49,3 @@ - [getAppsFlyerUID](#getAppsFlyerUID) | ||
- iOS AppsFlyerSDK **v4.7.3** | ||
- Android AppsFlyerSDK **v4.7.1** | ||
- Android AppsFlyerSDK **v4.7.2** | ||
@@ -268,3 +269,3 @@ | ||
##### <a id="registerUninstall"> **`registerUninstall(token): void`** | ||
##### <a id="enableUninstallTracking"> **`enableUninstallTracking(token, onSuccess, onError): void`** | ||
@@ -277,2 +278,4 @@ Enables app uninstall tracking. | ||
| `token` | `String` | | | ||
| `onSuccess` | `(message: string)=>void` | Success callback - called after successfull register uninstall. (optional)| | ||
| `onError` | `(message: string)=>void` | Error callback - called when error occurs during register uninstall. (optional)| | ||
@@ -279,0 +282,0 @@ |
@@ -51,5 +51,5 @@ /* jshint jasmine: true */ | ||
it("appsFlyer.registerUninstall method", function(){ | ||
expect(window.plugins.appsFlyer.registerUninstall).toBeDefined(); | ||
expect(typeof window.plugins.appsFlyer.registerUninstall).toBe('function'); | ||
it("appsFlyer.enableUninstallTracking method", function(){ | ||
expect(window.plugins.appsFlyer.enableUninstallTracking).toBeDefined(); | ||
expect(typeof window.plugins.appsFlyer.enableUninstallTracking).toBe('function'); | ||
}); | ||
@@ -66,5 +66,4 @@ | ||
}); | ||
}); | ||
@@ -71,0 +70,0 @@ |
@@ -49,6 +49,6 @@ | ||
}; | ||
AppsFlyer.prototype.registerUninstall = function (token) { | ||
argscheck.checkArgs('S', 'AppsFlyer.registerUninstall', arguments); | ||
exec(null, null, "AppsFlyerPlugin", "registerUninstall", [token]); | ||
}; | ||
// AppsFlyer.prototype.registerUninstall = function (token) { | ||
// argscheck.checkArgs('S', 'AppsFlyer.registerUninstall', arguments); | ||
// exec(null, null, "AppsFlyerPlugin", "registerUninstall", [token]); | ||
// }; | ||
AppsFlyer.prototype.getAppsFlyerUID = function (successCB) { | ||
@@ -55,0 +55,0 @@ argscheck.checkArgs('F', 'AppsFlyer.getAppsFlyerUID', arguments); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
354
2728211