Skip to content

[webview_flutter] works badly with TalkBack enabled. #50716

@m-abs

Description

@m-abs

Internal: b/159184629

Steps to Reproduce

  1. Run flutter create flutter_webview_talkback.
  2. Update the files as follows:
  • add webview_flutter to dependencies in pubspec.yaml
  • Replace body in _MyHomePageState with a WebView and load a url in that webview.
  1. Enable TalkBack

Expected results:
To be able to interact with the webview via TalkBack.
The elements in the webpage to be highlighted as they're being read by TalkBack.
The page to auto scroll, when I reach the bottom of the screen.
To be able to swipe to headlines, links etc. below the bottom of the screen.

As shown in my video here (recorded on Android 10):
android-webview-talkback-resized

Better quality: https://github.com/m-abs/android-webview-test1/raw/master/android-webview-talkback-resized.mp4

Demo native Android project: https://github.com/m-abs/android-webview-test1

Actual results:
As I swipe to the webview, it is highlighted with the green border.
This border stays around the webview, as I swipe through the content of the webpage.
None of the elements in the webpage is highlighted, as they're being read by TalkBack.
When I swipe to the bottom of the screen, TalkBack jumps to the AppBar.

As shown in my video here (recorded on Android 10):
flutter-webview-talkback-resized

Better quality: https://github.com/m-abs/flutter_webview_talkback/raw/master/flutter-webview-talkback-resized.mp4

Demo flutter project: https://github.com/m-abs/flutter_webview_talkback

Logs
 > flutter run -v
[  +22 ms] executing: [/home/mabs/tools/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +28 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [/home/mabs/tools/flutter/] git describe --match v*.*.* --first-parent --long --tags
[   +7 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-0-gfabeb2a16
[   +6 ms] executing: [/home/mabs/tools/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/mabs/tools/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/home/mabs/tools/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +26 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb devices -l
[   +6 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb devices -l
[        ] List of devices attached
           9b47adaa               device usb:2-2 product:OnePlus7TPro_EEA model:HD1913 device:OnePlus7TPro transport_id:1
[  +29 ms] /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell getprop
[  +98 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +112 ms] Found plugin webview_flutter at /home/mabs/tools/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.19+7/
[  +77 ms] Found plugin webview_flutter at /home/mabs/tools/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.19+7/
[  +45 ms] Generating /home/mabs/project/mabs.dk/flutter_webview_talkback/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +43 ms] ro.hardware = qcom
[  +30 ms] Launching lib/main.dart on HD1913 in debug mode...
[  +11 ms] executing: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[  +26 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_webview_talkback" (Raw: "com.example.flutter_webview_talkback")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_webview_talkback" (Raw: "flutter_webview_talkback")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_webview_talkback.MainActivity" (Raw: "com.example.flutter_webview_talkback.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +9 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell -x logcat -v time -t 1
[ +248 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-13 11:21:52.875 I/on.gearhead:ca(28507): WaitForGcToComplete blocked ProfileSaver on AddRemoveAppImageSpace for 38.755ms
[  +11 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb version
[   +1 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa logcat -v time -T 02-13 11:21:52.875
[  +11 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /home/mabs/tools/android-sdk-linux/platform-tools/adb
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb start-server
[   +7 ms] Building APK
[  +17 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew.
[        ] /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew mode: 33277 rwxrwxr-x.
[  +11 ms] executing: /home/mabs/tools/android-studio/jre/bin/java -version
[ +180 ms] Exit code 0 from: /home/mabs/tools/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
           OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[   +3 ms] executing: [/home/mabs/project/mabs.dk/flutter_webview_talkback/android/] /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew -Pverbose=true
-Ptarget=/home/mabs/project/mabs.dk/flutter_webview_talkback/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm64 assembleDebug
[ +781 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+10469 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :webview_flutter:preBuild UP-TO-DATE
[        ] > Task :webview_flutter:preDebugBuild UP-TO-DATE
[  +93 ms] > Task :webview_flutter:compileDebugAidl NO-SOURCE
[   +4 ms] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :webview_flutter:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +94 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugShaders UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugShaders UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugAssets UP-TO-DATE
[  +98 ms] > Task :webview_flutter:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +299 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugResValues UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugRenderscript NO-SOURCE
[        ] > Task :webview_flutter:generateDebugResources UP-TO-DATE
[        ] > Task :webview_flutter:packageDebugResources UP-TO-DATE
[  +98 ms] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :webview_flutter:checkDebugManifest UP-TO-DATE
[        ] > Task :webview_flutter:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :webview_flutter:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugRFile UP-TO-DATE
[   +2 ms] > Task :app:processDebugResources UP-TO-DATE
[  +95 ms] > Task :webview_flutter:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :webview_flutter:javaPreCompileDebug UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :webview_flutter:bundleLibCompileDebug UP-TO-DATE
[ +299 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[  +99 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[   +2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter:bundleLibResDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :webview_flutter:bundleLibRuntimeDebug UP-TO-DATE
[        ] > Task :webview_flutter:createFullJarDebug UP-TO-DATE
[  +95 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +100 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[  +99 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :webview_flutter:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :webview_flutter:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:assembleDebug UP-TO-DATE
[  +99 ms] > Task :webview_flutter:extractDebugAnnotations UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :webview_flutter:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :webview_flutter:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :webview_flutter:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :webview_flutter:bundleDebugAar UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugSources UP-TO-DATE
[        ] > Task :webview_flutter:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL in 12s
[        ] 58 actionable tasks: 3 executed, 55 up-to-date
[ +343 ms] Running Gradle task 'assembleDebug'... (completed in 13,4s)
[ +159 ms] calculateSha: LocalDirectory: '/home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk'/app.apk
[  +69 ms] calculateSha: reading file took 68us
[ +632 ms] calculateSha: computing sha took 632us
[   +2 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[   +5 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_webview_talkback" (Raw: "com.example.flutter_webview_talkback")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_webview_talkback" (Raw: "flutter_webview_talkback")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_webview_talkback.MainActivity" (Raw: "com.example.flutter_webview_talkback.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on HD1913.
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell am force-stop com.example.flutter_webview_talkback
[  +91 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell pm list packages com.example.flutter_webview_talkback
[  +84 ms] Installing APK.
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /home/mabs/tools/android-sdk-linux/platform-tools/adb
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb start-server
[   +5 ms] Installing build/app/outputs/apk/app.apk...
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa install -t -r /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
[+3072 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/apk/app.apk... (completed in 3,1s)
[   +3 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell echo -n b98c5b9ef8c887d2f9e6aa1e92f587579bbefc46 >
/data/local/tmp/sky.com.example.flutter_webview_talkback.sha1
[  +43 ms] HD1913 startApp
[   +5 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true
--ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.flutter_webview_talkback/com.example.flutter_webview_talkback.MainActivity
[ +106 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_webview_talkback/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +484 ms] W/FlutterView(28681): Tried to send viewport metrics from Android to Flutter but this FlutterView was not attached to a FlutterEngine.
[   +5 ms] W/FlutterView(28681): Tried to send viewport metrics from Android to Flutter but this FlutterView was not attached to a FlutterEngine.
[ +209 ms] Observatory URL on device: http://127.0.0.1:43217/_ieCkSJDhEY=/
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward tcp:0 tcp:43217
[   +9 ms] 42867
[        ] Forwarded host port 42867 to device port 43217 for Observatory
[   +8 ms] Connecting to service protocol: http://127.0.0.1:42867/_ieCkSJDhEY=/
[ +190 ms] Successfully connected to service protocol: http://127.0.0.1:42867/_ieCkSJDhEY=/
[   +2 ms] Sending to VM service: getVM({})
[   +5 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Qualcomm Technologies, Inc SM8150, operatingSystem: android, targetCPU: arm64, version:
2.8.0-dev.5.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "android_arm64", _profilerMode: VM, _n...
[   +4 ms] Sending to VM service: getIsolate({isolateId: isolates/1181507948454451})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[  +20 ms] Result: {type: Isolate, id: isolates/1181507948454451, name: main, number: 1181507948454451, _originNumber: 1181507948454451, startTime: 1581589332593, _heaps: {new: {type:
HeapSpace, name: new, vmName: Scavenger, collections: 0, avgCollectionPeriodMillis...
[  +12 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7235251c20, isolate: {type: @Isolate, fixedId: true, id: isolates/1181507948454451, name:
main.dart$main-1181507948454451, number: 1181507948454451}}]}
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[   +1 ms] Sending to VM service: _createDevFS({fsName: flutter_webview_talkback})
[  +61 ms] Result: {type: FileSystem, name: flutter_webview_talkback, uri:
file:///data/user/0/com.example.flutter_webview_talkback/code_cache/flutter_webview_talkbackIDWRLD/flutter_webview_talkback/}
[   +1 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_webview_talkback/code_cache/flutter_webview_talkbackIDWRLD/flutter_webview_talkback/)
[   +3 ms] Updating assets
[  +81 ms] Syncing files to device HD1913...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +6 ms] /home/mabs/tools/flutter/bin/cache/dart-sdk/bin/dart /home/mabs/tools/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/mabs/tools/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tool.UBMESH/app.dill --packages /home/mabs/project/mabs.dk/flutter_webview_talkback/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root
[   +4 ms] <- compile package:flutter_webview_talkback/main.dart
[  +53 ms] I/WebViewFactory(28681): Loading com.google.android.webview version 80.0.3987.99 (code 398709933)
[  +11 ms] W/Gralloc3(28681): allocator 3.x is not supported
[  +24 ms] I/cr_LibraryLoader(28681): Loaded native library version number "80.0.3987.99"
[  +51 ms] E/chromium(28681): [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/com.example.flutter_webview_talkback/cache/WebView/Crashpad: No such file or directory (2)
[        ] W/chromium(28681): [WARNING:dns_config_service_posix.cc(341)] Failed to read DnsConfig.
[  +40 ms] W/ebview_talkbac(28681): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
[        ] W/cr_media(28681): Requires BLUETOOTH permission
[        ] V/ViewRootImpl(28681): The specified message queue synchronization  barrier token has not been posted or has already been removed
[  +45 ms] W/VideoCapabilities(28681): Unsupported mime image/vnd.android.heic
[   +7 ms] W/VideoCapabilities(28681): Unsupported mime video/divx
[   +1 ms] W/VideoCapabilities(28681): Unsupported mime video/divx4
[   +6 ms] W/VideoCapabilities(28681): Unrecognized profile/level 0/3 for video/mpeg2
[   +1 ms] W/VideoCapabilities(28681): Unrecognized profile/level 0/3 for video/mpeg2
[   +5 ms] W/VideoCapabilities(28681): Unsupported mime video/x-ms-wmv
[ +432 ms] D/NetworkSecurityConfig(28681): No Network Security Config specified, using platform default
[+6225 ms] Updating files
[  +98 ms] DevFS: Sync finished
[        ] Syncing files to device HD1913... (completed in 7.020ms, longer than expected)
[        ] Synced 0.9MB.
[        ] Sending to VM service: _flutter.listViews({})
[   +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7235251c20, isolate: {type: @Isolate, fixedId: true, id: isolates/1181507948454451, name:
main.dart$main-1181507948454451, number: 1181507948454451}}]}
[        ] <- accept
[        ] Connected to _flutterView/0x7235251c20.
[        ] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on HD1913 is available at: http://127.0.0.1:42867/_ieCkSJDhEY=/
[+9019 ms] I/flutter (28681): Page started loading: https://readium2.herokuapp.com/pub/L2FwcC9taXNjL2VwdWJzL2NoaWxkcmVucy1saXRlcmF0dXJlLmVwdWI=/EPUB/s04.xhtml
[ +597 ms] I/flutter (28681): Page finished loading: https://readium2.herokuapp.com/pub/L2FwcC9taXNjL2VwdWJzL2NoaWxkcmVucy1saXRlcmF0dXJlLmVwdWI=/EPUB/s04.xhtml
[+35249 ms] Application finished.
[   +5 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --list
[   +4 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --list
[        ] 9b47adaa tcp:42867 tcp:43217
[   +1 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --remove tcp:42867
 > flutter analyze 
Analyzing flutter_webview_talkback...                                   
No issues found! (ran in 2.8s)     
[✓] Flutter (Channel beta, v1.14.6, on Linux, locale da_DK.UTF-8)
    • Flutter version 1.14.6 at /home/mabs/tools/flutter
    • Framework revision fabeb2a16f (2 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/mabs/tools/android-sdk-linux
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /home/mabs/tools/android-sdk-linux
    • Java binary at: /home/mabs/tools/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at /home/mabs/tools/android-studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.8.1

[✓] Connected device (1 available)
    • HD1913 • 9b47adaa • android-arm64 • Android 10 (API 29)

• No issues found!

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: platform-viewsEmbedding Android/iOS views in Flutter appscustomer: money (g3)engineflutter/engine related. See also e: labels.found in release: 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyplatform-views: vdIssues specific to the Android VirtualDisplay platform views backendwaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions