Open bkleineibst opened 5 months ago
Have you solved the problem? I have the same problem
You can try the old api,WillPopScope
Has anyone found a fix for this yet. Still not working on iOS
Has anyone found a fix for this yet. Still not working on iOS
It's not working on flutter 3.22 and GetX 4.6.6.
The workaround is either downgrade flutter, or using native router, Navigator.of(context) to handler this case. And with the native router, you have to handle the GetX lifecycle manually, with initializing and disposing controllers.
You can try the old api,WillPopScope
It's work. The Getx has the parameter popGesture in the GetPage class, but it does not work!
Any update of this issue?
You can try the old api,WillPopScope
Not working for me. flutter 3.22.2 and GetX 4.6.6. When i change from PopScope to WillPopScope, cannot pop even return true
I meet the same problem.
It does works at Flutter 3.16.x
Btw, Google request all app update with 3.22.x or later for Google Play.
Describe the bug When setting canPop to false in a page's PopScope, and navigating to that page with Get.to(popGesture: false, Page()), I am still able to swipe to go back on iOS. The back button navigation is blocked, but not the gesture.
I followed the advice in #3071, but it doesn't seem to work. Works if I use standard Flutter navigation (canPop: false).
**Reproduction code example:
To Reproduce Steps to reproduce the behavior:
Expected behavior Back navigation with gesture should be disabled.
Flutter Version: Tested on master and 3.22.2
Getx Version: 4.6.6
Describe on which device you found the bug: iOS simulator
Minimal reproduce code See above.