-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
Enhancement/1366-prevent-crash-form-happening #1367
base: main
Are you sure you want to change the base?
Conversation
Wow, great turnaround time! Quick question as I'm not sure. By adding the I'm not that familiar with the code, but based on the docs, I was expecting Thanks! |
Thanks so much for proposed solution, is it possible to finalise it so the pull request can be created? |
hi @TimHoogstrate the crash points to I don't think the solution will fix the issue. attaching also another similar issue with react native, and their approach resolves the issue. However, still it doesn't fix the root cause since they just added a simple try catch. This probably avoid crashes, while waiting for Google to fix it. |
The problem is it still runs the code after the If we add the Not sure we'll use it, but the new error code is nice addition so that we can determine it failed to check, rather than default to disabled. |
We are encountering exactly the same error. |
Resolves 1366 by adding an onFailed listener and catching the error.
Pre-launch Checklist
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.CHANGELOG.md
to add a description of the change.///
).main
.dart format .
and committed any changes.flutter analyze
and fixed any errors.