Enhancement/1366-prevent-crash-form-happening#1367
Enhancement/1366-prevent-crash-form-happening#1367TimHoogstrate wants to merge 2 commits intoBaseflow:mainfrom
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.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.CHANGELOG.mdto add a description of the change.///).main.dart format .and committed any changes.flutter analyzeand fixed any errors.