Webview flutter_webview_plugin on Android TV app remote controller d-pad navigation
Hello,
I'm trying to write a flutter app for Android TV.
The flutter_webview_plugin doesn't seem to work with d-pad on Android TV.
Its load the webpage but tab navigation is not working..
here is my code: https://github.com/andraskende/apptv1/blob/master/lib/web2.dart
Is flutter_webview_plugin supports Android TV remote controller d-pad navigation ??
Thank you, Andras
andras:apptv1 andras$ andras:apptv1 andras$ flutter analyze Analyzing apptv1... No issues found! (ran in 1.9s) andras:apptv1 andras$ andras:apptv1 andras$ flutter doctor -v [✓] Flutter (Channel master, v1.18.1-pre.4, on Mac OS X 10.14.6 18G3020, locale en-US) • Flutter version 1.18.1-pre.4 at /Users/andras/development/flutter • Framework revision 8f7327f (9 hours ago), 2020-04-06 22:11:01 -0400 • Engine revision 49891e0653 • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/andras/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /Users/andras/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.8.4
[✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.0.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.43.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.9.1
[✓] Connected device (1 available) • SHIELD Android TV • 192.168.2.187:5555 • android-arm64 • Android 9 (API 28)
• No issues found! andras:apptv1 andras$
I am curious about the same inquiry -- can dpad / keyboard navigation work with flutter_webview_plugin?
Edit: After more reading, it seems that hybrid composition needs to be enabled to support keyboard navigation, but there ins't an option available in flutter_webview_plugin yet...
@ouija did you manage to get it working?