-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
WillPopScope does not work when changing FlutterActivity to FlutterFragmentActivity in the MainActivity.kt (because of local_auth plugin) #128690
Comments
Thanks for filing this issue @Abdullah-Rashed. I'm unable to reproduce this issue. Kindly confirm you are using the latest version of the |
I fixed it.. maybe? Android 10, 11 and 12 worked fine Android 13 was giving me so many issues, though. as I said, I think I fixed it. |
Thanks for confirming this @Abdullah-Rashed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
1- setup local_auth pub package as the instructions say.
2- change the class from FlutterActivity in MainActivity,kt to FlutterFragmentActivity
3- Wrap any widget with WillPopScope and test the back swipe gesture
Expected results
intercept back button on android
Actual results
WillPopScope widget does not work and does not intercept back button.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
asd
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: