Closed bobrosoft closed 4 years ago
You can use it like this as long as the plugin isn't updated:
async initAppsFlyer() {
try {
await this.platform.ready();
if (this.platform.is('cordova')) {
await this.appsflyer.initSdk({
devKey: '*****',
appId: '*******',
isDebug: false,
waitForATTUserAuthorization: 10,
} as any);
}
} catch (error) {
console.error(error);
}
}
I also submitted a pull request: https://github.com/ionic-team/ionic-native/pull/3541
Hi there. Please update @ionic-native/appsflyer with latest breaking changes and new options like waitForATTUserAuthorization. https://github.com/ionic-team/ionic-native/blob/master/src/%40ionic-native/plugins/appsflyer/index.ts#L4
Thanks.