Skip to content

Commit

Permalink
feat(appsflyer): added registerUninstall function (#3401)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ab-kily authored May 5, 2020
1 parent a3d54a3 commit c403330
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/@ionic-native/plugins/appsflyer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 AppsFlyer’s proprietary Device ID. The AppsFlyer Device ID is the main ID used by AppsFlyer in Reports and APIs.
*/
Expand Down

0 comments on commit c403330

Please sign in to comment.