Open artyom-frolov opened 4 months ago
👋 Hi @artyom-frolov 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:
We are facing the same problem too and we are using appsflyer_sdk (6.14.3)
.
As a quick fix we reverted our AppsFlyer version update back to 6.13.0+1. We never had those crashes with that version but keep in mind that deferred deep links won't work for you on iOS with that version of AppsFlyer. They will on Android though.
I conacted with support. Their response: "I discussed this issue the mobile team and based on the error trace and shared code snippet It seems like we have an issue with the new startSDK method with onSuccess and onError callbacks here. As a workaround, we can suggest removing the callbacks on the Flutter side if they are not in use in your app logic and using startSDK without the callback."
I'll try this workaround. Maybe it will help someone too.
Describe the bug After integrating the AppsFlyer SDK into our Flutter app, some Android users experience crashes. No special actions are required from the user to reproduce the bug. This issue is similar to #322 but our app doesn't use deeplinks and has a different call stack.
Callstack:
To Reproduce We cannot identify specific reproducible steps; the issue occurs unexpectedly.
Expected behavior The app should work without crashes.
Screenshots Callstack from Sentry:
Smartphone:
Additional context AppsFlyer SDK version: 6.13.2+1 Flutter version: 3.13.9 (stable) Engine revision 0545f8705d Dart version: 3.1.5 DevTools version: 2.25.0 IDE: VS Code (version 1.90.2)