feat(appsflyer): added registerUninstall function (#3401)

* fix(appsflyer): added missing registerUninstall()

According to appsflyer docs, there should be *registerUninstall()* method to allow tracking uninstalls for iOS:

https://github.com/AppsFlyerSDK/appsflyer-cordova-plugin/blob/master/docs/API.md#-registeruninstalltoken-void

* fixed asterisk alignment to pass CI test

* removed whitespace to pass CI test
This commit is contained in:
Alexander Bogdanov 2020-05-05 12:06:25 +03:00 committed by GitHub
parent a3d54a34b8
commit c403330c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,13 @@ export class Appsflyer extends IonicNativePlugin {
@Cordova({ sync: true })
updateServerUninstallToken(token: string): void {}
/**
* (iOS) Allows to pass APN Tokens that where collected by third party plugins to the AppsFlyer server. Can be used for Uninstall Tracking.
* @param {string} token APN Token
*/
@Cordova({ sync: true })
registerUninstall(token: string): void {}
/**
* Get AppsFlyers proprietary Device ID. The AppsFlyer Device ID is the main ID used by AppsFlyer in Reports and APIs.
*/