AppsFlyerSDK / appsflyer-cordova-plugin

AppsFlyer plugin for Cordova
MIT License
37 stars 71 forks source link

Android - window.plugins.appsFlyer.initSdk do not execute callbacks onSuccess or onError after window.location.reload() #251

Open tragid opened 3 months ago

tragid commented 3 months ago

Report

on Android if calling window.plugins.appsFlyer.initSdk after window.location.reload() on app - initSdk method doesn't invoke any of callbacks neither onSuccess or onError. Only closing and reopening app helps

Plugin Version

6.13.1

On what Platform are you having the issue?

android

What did you do?

window.plugins.appsFlyer.initSdk({ devKey: '...' }, (onSuccessEvent) => { console.log(onSuccessEvent); }, (onErrorEvent) => { console.log(onErrorEvent); });

What did you expect to happen?

onSuccess event should fire after window.location.reload

What happened instead?

nothing happens, app waiting for callbacks of initSdk method

Please provide any other relevant information.

-

github-actions[bot] commented 3 months ago

👋 Hi @tragid and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify: