-
Notifications
You must be signed in to change notification settings - Fork 192
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
Method 'PopScope' isn't defined in 'RequestCode' class (resolution: use Flutter >3.16.0 or aad_oauth <=1.0.0) #299
Comments
I also had the same problem. Pls help me! |
Can you take a look at this @josemiguelvarela and @loetsphi |
Same here |
Maybe this is not the best solution, but after downgrading the package to 0.4.4 it works as expected...not the best solution but it at least could help in the development process until the issue is solved in the latest version |
@tratum WillPopScope has been deprecated, which is the reason we changed it in this package, but i see the issue as per https://docs.flutter.dev/release/breaking-changes/android-predictive-back Flutter 3.16 is necessary for the Replacement PopScope, which probably not everyone has upgraded to. Sorry for this, maybe we should have waited a bit longer with the switch. |
Thanks @loetsphi , it's functioning now, although I'm encountering another problem. I'm uncertain about it but will notify you if it persists. |
also thnks @ahmadkhedr for helping out |
Should i close the issue @loetsphi |
You are right, it is resolved, but further people with the same problem should still be able to see it, so i pinned it. |
When running the provided code, an error occurs related to the 'PopScope' method not being defined for the class 'RequestCode'. This error is observed in the request_code.dart file from the aad_oauth package.
Error:
Code Snippet
Additional Information
>=3.1.5 <4.0.0
aad_oauth: ^1.0.1
Windows 11
7.4
If possible, it would be greatly appreciated if the solution could be provided as soon as possible as this issue is causing a hindrance in the development process.
The text was updated successfully, but these errors were encountered: