AppsFlyerSDK / appsflyer-flutter-plugin

Flutter Plugin for AppsFlyer SDK
MIT License
151 stars 120 forks source link

Future never completes if init from background service #361

Open KestasVenslauskas opened 6 hours ago

KestasVenslauskas commented 6 hours ago

We do initialise AppsFlyer for analytics purposes on our firebaseBackgroundMessageHandler. Problem is in referenced line. Result is never resolved. So calling await appsflyer.initSdk(); is freezing the app background service.

https://github.com/AppsFlyerSDK/appsflyer-flutter-plugin/blob/f4204607c4d976eb2cf440772c0c6069cd6767bc/android/src/main/java/com/appsflyer/appsflyersdk/AppsflyerSdkPlugin.java#L208

github-actions[bot] commented 5 hours ago

👋 Hi @KestasVenslauskas 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: