simple_pip_mode_flutter
simple_pip_mode_flutter copied to clipboard
Not working on Android 14
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 is specified as 34. If it is set to less than that, it will not occur.
Unhandled Exception: PlatformException(error, lateinit property activity has not been initialized, null, kotlin.UninitializedPropertyAccessException: lateinit property activity has not been initialized
- Flutter Doctor
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.2 23C64 darwin-arm64, locale ko-KR) • Flutter version 3.13.9 on channel stable at /Users/syd/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision d211f42860 (2 months ago), 2023-10-25 13:42:25 -0700 • Engine revision 0545f8705d • Dart version 3.1.5 • DevTools version 2.25.0 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/syd/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_SDK_ROOT = /Users/syd/Library/Android/sdk • Java binary at: /Users/syd/Library/Java/JavaVirtualMachines/corretto-11.0.21/Contents/Home/bin/java • Java version OpenJDK Runtime Environment Corretto-11.0.21.9.1 (build 11.0.21+9-LTS) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A507 • CocoaPods version 1.13.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). [✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 76.3.4 • Dart plugin version 232.10248 [✓] VS Code (version 1.85.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.80.0 [✓] VS Code (version 1.79.2) • VS Code at /Users/syd/iCloud Drive(아카이브)/Desktop/Visual Studio Code.app/Contents • Flutter extension version 3.80.0 [✓] Connected device (3 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.2 23C64 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.199 [✓] Network resources • All expected network resources are available.