Pogo provides a thin wrapper over the audioplayers library. Please make extra sure the problem you are having is with Pogo. If you have a low-level or hardware-related audio problem, it's probably something related to audioplayers, so please head to that repository to search for your problem or open an issue. If you indeed have a problem with the Pogo audio wrapper, then open an issue here.
In order to draw over the notch, you must add the following line to your styles.xml
file:
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
For more details, please check this PR from impulse.
Starting with Flutter 1.10.x, when using some of the Screen
methods before the runApp
statement (like the methods for enforcing the device orientation) the following exception can occur:
E/flutter (16523): [ERROR:flutter/lib/ui/ui_dart_state.cc(151)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter (16523): 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.
E/flutter (16523): 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.
To prevent this exception from occurring, add this line before calling those utilities methods:
WidgetsFlutterBinding.ensureInitialized();
See the main example README.
See the Camera documentation.
See the Gesture documentation.