Skip to content
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

Getting Blank screen on iOS when running the example app. #38

Open
real1900 opened this issue Sep 5, 2020 · 0 comments
Open

Getting Blank screen on iOS when running the example app. #38

real1900 opened this issue Sep 5, 2020 · 0 comments

Comments

@real1900
Copy link

real1900 commented Sep 5, 2020

[VERBOSE-2:ui_dart_state.cc(171)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
If you're running an application and need to access the binary messenger before runApp() has been called (for example, during plugin initialization), then you need to explicitly call the WidgetsFlutterBinding.ensureInitialized() first.
If you're running a test, you can call the TestWidgetsFlutterBinding.ensureInitialized() as the first line in your test's main() method to initialize the binding.
#0 defaultBinaryMessenger. (package:flutter/src/services/binary_messenger.dart:92:7)
#1 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:105:4)
#2 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:144:62)
#3 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:150:36)
#4 MethodChannel.invokeMethod (package:flutter/src/services/platfor<…>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant