You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the background channel never receives an initialized result. The resources of the flutter engine would not be destroyed. Causing a out of memory crash
Always double check that your callback function does not trigger a crash before the method channel is setup. This could lead to out of memory issues. becaus native code is never notified that the callback is initialized
Future<void> callbackHandler() async {
_setupFlavorValues(); //throws error
await setupBackgroundDriverDependencyTree(); //is never called
BackgroundLocationTrackerManager.handleBackgroundUpdated((data) => KiwiContainer().resolve<YourRepo>().updateBackgroundLocation(data)); //is never called
}
Sometimes we can use our app for 30 min
Sometimes the app crashes after 1 min
Could be related to the flutter engine that is used in the native iOS code
The text was updated successfully, but these errors were encountered: