Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(AppsFlyer): update to 6.x.x #3563

Merged
merged 2 commits into from
Nov 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/@ionic-native/plugins/appsflyer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class Appsflyer extends IonicNativePlugin {
* @param {AppsflyerEvent} eventValues event details
*/
@Cordova({ sync: true })
danielsogl marked this conversation as resolved.
Show resolved Hide resolved
trackEvent(eventName: string, eventValues: AppsflyerEvent): void {}
logEvent(eventName: string, eventValues: AppsflyerEvent): void {}

/**
* Setting your own Custom ID enables you to cross-reference your own unique ID with AppsFlyer’s user ID and the other devices’ IDs. This ID is available in AppsFlyer CSV reports along with postbacks APIs for cross-referencing with you internal IDs.
Expand All @@ -109,7 +109,7 @@ export class Appsflyer extends IonicNativePlugin {
* @param {boolean} customerUserId In some extreme cases you might want to shut down all SDK tracking due to legal and privacy compliance. This can be achieved with the isStopTracking API. Once this API is invoked, our SDK will no longer communicate with our servers and stop functioning.
*/
@Cordova({ sync: true })
stopTracking(isStopTracking: boolean): void {}
Stop(isStopTracking: boolean): void {}

/**
* Get the data from Attribution
Expand All @@ -120,7 +120,9 @@ export class Appsflyer extends IonicNativePlugin {
return;
}


/**
* @deprecated
* Enables app uninstall tracking
* @param {string} token GCM/FCM ProjectNumber
* @returns {Promise<any>}
Expand Down Expand Up @@ -157,7 +159,7 @@ export class Appsflyer extends IonicNativePlugin {
* @param {boolean} disable Set to true to opt-out user from tracking
*/
@Cordova({ sync: true })
deviceTrackingDisabled(disable: boolean): void {}
anonymizeUser(disable: boolean): void {}

/**
* Set AppsFlyer’s OneLink ID. Setting a valid OneLink ID will result in shortened User Invite links, when one is generated. The OneLink ID can be obtained on the AppsFlyer Dashboard.
Expand All @@ -182,7 +184,7 @@ export class Appsflyer extends IonicNativePlugin {
* @param {string} campaign Promoted Campaign
*/
@Cordova({ sync: true })
trackCrossPromotionImpression(appId: string, campaign: string): void {}
logCrossPromotionImpression(appId: string, campaign: string): void {}

/**
* Use this call to track the click and launch the app store's app page (via Browser)
Expand All @@ -191,5 +193,5 @@ export class Appsflyer extends IonicNativePlugin {
* @param {Object} options Additional Parameters to track
*/
@Cordova({ sync: true })
trackAndOpenStore(appId: string, campaign: string, options: Object): void {}
logCrossPromotionAndOpenStore(appId: string, campaign: string, options: Object): void {}
}