Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application crashes in Android during swipe kill #200

Open
DhirajMakane opened this issue Nov 4, 2024 · 0 comments
Open

Application crashes in Android during swipe kill #200

DhirajMakane opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@DhirajMakane
Copy link

Hi Team,
The application crashes during the swipe kill.

Steps to reproduce:

  1. Install and launch the application
  2. And turn-by-turn navigation is not started.
  3. Now swipe to kill the Android application.

Stack Trace:
com.google.maps.flutter.navigation.GoogleMapsNavigationSessionManager.getNavigator (GoogleMapsNavigationSessionManager.kt:151)
com.google.maps.flutter.navigation.GoogleMapsNavigationSessionManager.unregisterListeners (GoogleMapsNavigationSessionManager.kt:285)
com.google.maps.flutter.navigation.GoogleMapsNavigationSessionManager.onActivityDestroyed (GoogleMapsNavigationSessionManager.kt:139)
com.google.maps.flutter.navigation.GoogleMapsNavigationPlugin.onDetachedFromActivity (GoogleMapsNavigationPlugin.kt:78)
io.flutter.embedding.engine.FlutterEngineConnectionRegistry.detachFromActivity (FlutterEngineConnectionRegistry.java:381)
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach (FlutterActivityAndFragmentDelegate.java:747)
io.flutter.embedding.android.FlutterFragment.onDetach (FlutterFragment.java:1168)
androidx.fragment.app.Fragment.performDetach (Fragment.java:3386)
androidx.fragment.app.FragmentStateManager.detach (FragmentStateManager.java:850)
androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:349)
androidx.fragment.app.SpecialEffectsController$FragmentStateManagerOperation.complete (SpecialEffectsController.kt:664)
androidx.fragment.app.SpecialEffectsController$Operation.cancel (SpecialEffectsController.kt:507)
androidx.fragment.app.SpecialEffectsController.forceCompleteAllOperations (SpecialEffectsController.kt:293)
androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3037)
androidx.fragment.app.FragmentManager.dispatchDestroy (FragmentManager.java:2988)
androidx.fragment.app.FragmentController.dispatchDestroy (FragmentController.java:346)
androidx.fragment.app.FragmentActivity.onDestroy (FragmentActivity.java:258)
com.hero.vida.MainActivity.onDestroy (MainActivity.kt:444)
android.app.Activity.performDestroy (Activity.java:9255)
android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1491)
android.app.ActivityThread.performDestroyActivity (ActivityThread.java:6232)
android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:6277)
android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:47)
android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:180)
android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:98)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2854)
android.os.Handler.dispatchMessage (Handler.java:108)
android.os.Looper.loopOnce (Looper.java:226)
android.os.Looper.loop (Looper.java:328)
android.app.ActivityThread.main (ActivityThread.java:9242)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:594)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1099)

@DhirajMakane DhirajMakane added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 4, 2024
@jokerttu jokerttu added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants