Closed joe-mybuzz closed 8 months ago
Hi @joe-mybuzz , the document you linked states that "calls to WidgetsFlutterBinding.ensureInitialized()
should be run in the same zone as calls to runApp()
." Have you tried doing that? If that works, may be you can make a PR
Hi @jgimenez! Thank you for your reply. I tried it out and what I did was move the WidgetsFlutterBinding.ensureInitialized()
and other functions and methods that rely on the WidgetsFlutterBinding.ensureInitialized()
to run first into the same closure as runApp()
.
Great, thanks for confirming this works. Then we'll apply the same in the SDK and instructions.
Hello Bugfender team,
I found an error when wrapping the runApp() with the
FlutterBugfender.handleUncaughtErrors
function:Based on this doc, starting with Flutter 3.10, the framework detects mismatches when using Zones and reports them to the console in debug builds. We are currently using Flutter 3.16.5.
Is there a solution for this?