simple_pip_mode_flutter
simple_pip_mode_flutter copied to clipboard
A complete Picture-In-Picture mode plugin for android. Provides methods to check feature availability, enter PIP mode and callbacks.
- Reflects changes to broadcast usage in Android 14 Not working on Android 14 #11
Doesn't work on Android 14. It works fine in lower versions. **onAttachedToActivity method of SimplePipModePlugin class is not called. Doesn't work only on Android 14.** This occurs when target api...
I ran this example, why when I click the PIP, The displayed content is still Child Widget, what I hope is pipChild Widget. I didn't modify any code, it's a...
use case: User wants to toggle the automatic pip mode. For this he can enable the automatic pip mode, but there was no possibility to disable it. This PR will...
First of all, thank you for the awesome package! Best implementation of PiP for Flutter/Android I've seen so far. One issue I came across was there isn't a way to...
When we use `PreferredOrientations` and go to fullscreen mode and then exit, the `onPipExited` function does not work. Go to fullscreen instructions: ``` await SystemChrome.setPreferredOrientations([ DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight, ]); await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);...
When we are in PiP mode and the screen is locked and unlocked, it shows the child widget in PiP mode, but it should show the pipChild widget.
Can you support web? JavaScript seems to support this feature https://developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API
Main
Failed to handle method call E/MethodChannel#puntito.simple_pip_mode(14184): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267) E/MethodChannel#puntito.simple_pip_mode(14184): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/MethodChannel#puntito.simple_pip_mode(14184): at android.os.Handler.handleCallback(Handler.java:958) E/MethodChannel#puntito.simple_pip_mode(14184): at android.os.Handler.dispatchMessage(Handler.java:99) I/flutter (14184): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267) I/flutter (14184): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)