-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
The system back button closes the app on Android 13 #1538
Comments
|
Users who are having this issue, what's the value of |
Are you having the issue? @AlexandrMolecule Can you try my suggestion above? |
Hey @SametSahin10 is this documented somewhere or did you just tried it your self? |
My coworker made some changes in |
Have the same problem, but launchMode is singleTop |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
I have the same issue: pressing the hardware back button closes the application, and I can't intercept this behavior (Android 13.1; android:launchMode="singleTop" in AndroidManifest.xml; auto_route v6.4.0). I tried working with I tried to intercept the event here:
Here is how my
Main page with tabs:
RouterView for the support tab:
|
Facing the same issue on Android 13. Could it be related to this? |
It looks like cause of issue is the https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture, you can find related discussion here flutter/flutter#109513. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
I have the same issue, but in my case the issue goes away when extending Does this have anything to do with this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
The system back button closes the app on Android when it's supposed go back to the previous page. The issue does not occur on Android 10. It occurs on Android 13. I have run my app on an Android 10 device and pressed the system back button. The
didPopRoute
on RootBackButtonDispatcher has been called. I've run the app on my Android 13 device and pressed the system back button but thedidPopRoute
hasn't been called. What could be the issue here?I'm using:
flutter doctor -v
The text was updated successfully, but these errors were encountered: