flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.17k stars 27.24k forks source link

[flutter_inappwebview] hybrid composition causes flickering in AppBar and BottomNavigationBar #103984

Closed fch21 closed 2 years ago

fch21 commented 2 years ago

Steps to Reproduce

  1. Execute flutter run on the code sample
  2. To demonstrate the bug found, it is only necessary to swipe between the PageView pages (which contains a webView). By doing this, when a widget is behind the AppBar or BottomNavigationBar, we can see an unwanted flickering effect.
  3. This effect is only seen when using the option useHybridComposition: true in the inAppWebView options.

Expected results: The expected is that the change between PageView pages will occur without any effect on the appBar or bottomNavigationBar.

Actual results: We can see an unwanted flickering effect in the widgets.

Code sample ```dart [example_bug_webview.zip](https://github.com/flutter/flutter/files/8709150/example_bug_webview.zip) ```
Logs ``` devfuretcompany@mac-mini-de-dev example_bug_webview % flutter run --verbose [ +129 ms] executing: sysctl hw.optional.arm64 [ +30 ms] Exit code 0 from: sysctl hw.optional.arm64 [ +3 ms] hw.optional.arm64: 1 [ +9 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 5464c5bac742001448fe4fc0597be939379f88ea [ +1 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git tag --points-at 5464c5bac742001448fe4fc0597be939379f88ea [ +34 ms] Exit code 0 from: git tag --points-at 5464c5bac742001448fe4fc0597be939379f88ea [ ] 2.10.5 [ +14 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/Users/devfuretcompany/Documents/flutter/] git ls-remote --get-url origin [ +17 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +136 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git rev-parse --abbrev-ref HEAD [ +24 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +8 ms] executing: sw_vers -productName [ +17 ms] Exit code 0 from: sw_vers -productName [ ] macOS [ ] executing: sw_vers -productVersion [ +21 ms] Exit code 0 from: sw_vers -productVersion [ ] 12.2.1 [ ] executing: sw_vers -buildVersion [ +15 ms] Exit code 0 from: sw_vers -buildVersion [ ] 21D62 [ +61 ms] 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. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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. [ +48 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb devices -l [ +17 ms] executing: sysctl hw.optional.arm64 [ +13 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] hw.optional.arm64: 1 [ ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version [ +89 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version [ ] Xcode 13.3 Build version 13E113 [ +3 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2 [ +4 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices [ ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices [ +4 ms] executing: /usr/bin/arch -arm64e xcrun simctl list [ +72 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list [ +71 ms] /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell getprop [ +110 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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. [ +169 ms] Skipping pub get: version match. [ +31 ms] Found plugin flutter_inappwebview at /Users/devfuretcompany/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ [ +42 ms] Found plugin flutter_inappwebview at /Users/devfuretcompany/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ [ +20 ms] Generating /Users/devfuretcompany/example_bug_webview/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +78 ms] ro.hardware = qcom [ +46 ms] Initializing file store [ +17 ms] Skipping target: gen_localizations [ +5 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/devfuretcompany/example_bug_webview/.dart_tool/package_config_subset} [ +9 ms] Found plugin flutter_inappwebview at /Users/devfuretcompany/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ [ +13 ms] gen_dart_plugin_registrant: Complete [ +1 ms] Skipping target: _composite [ +2 ms] complete [ +6 ms] Launching lib/main.dart on M2102J20SG in debug mode... [ +6 ms] /Users/devfuretcompany/Documents/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/devfuretcompany/Documents/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/devfuretcompany/Documents/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/jw/x7xzrgxs23zbmv660g8yvl9c0000gn/T/flutter_tools.X6cqyY/flutter_tool.N0BoN8/app.dill --packages /Users/devfuretcompany/example_bug_webview/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy [ +12 ms] executing: /Users/devfuretcompany/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/devfuretcompany/example_bug_webview/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +44 ms] Exit code 0 from: /Users/devfuretcompany/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/devfuretcompany/example_bug_webview/build/app/outputs/flutter-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)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.example.example_bug_webview" (Raw: "com.example.example_bug_webview") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x11 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: queries (line=16) E: intent (line=17) E: action (line=18) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") E: application (line=22) A: android:label(0x01010001)="example_bug_webview" (Raw: "example_bug_webview") A: android:icon(0x01010002)=@0x7f0d0000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") 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)=@0x7f0f00a3 A: android:name(0x01010003)="com.example.example_bug_webview.MainActivity" (Raw: "com.example.example_bug_webview.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff 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=43) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0f00a4 E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=50) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=57) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: activity (line=61) A: android:theme(0x01010000)=@0x7f0f0005 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 E: activity (line=66) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=70) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=74) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: activity (line=79) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: receiver (line=85) A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=90) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=94) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=97) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: provider (line=101) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.example_bug_webview.androidx-startup" (Raw: "com.example.example_bug_webview.androidx-startup") E: meta-data (line=105) A: android:name(0x01010003)="androidx.emoji2.text.EmojiCompatInitializer" (Raw: "androidx.emoji2.text.EmojiCompatInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: meta-data (line=108) A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") [ +25 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell -x logcat -v time -t 1 [ +40 ms] <- compile package:example_bug_webview/main.dart [ +269 ms] --------- beginning of main 05-17 16:13:33.502 I/SDM ( 1022): StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520 [ +21 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb version [ +24 ms] Android Debug Bridge version 1.0.41 Version 33.0.0-8141338 Installed as /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb [ +3 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb start-server [ +28 ms] Building APK [ +33 ms] Running Gradle task 'assembleDebug'... [ +4 ms] Using gradle from /Users/devfuretcompany/example_bug_webview/android/gradlew. [ +88 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist [ +29 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist [ ] CFBundleDevelopmentRegion English CFBundleDocumentTypes CFBundleTypeExtensions ipr CFBundleTypeIconFile studio.icns CFBundleTypeName Android Studio Project File CFBundleTypeRole Editor CFBundleTypeExtensions * CFBundleTypeName All documents CFBundleTypeOSTypes **** CFBundleTypeRole Editor LSTypeIsPackage CFBundleExecutable studio CFBundleGetInfoString Android Studio 4.2, build AI-202.7660.26.42.7322048. Copyright JetBrains s.r.o., (c) 2000-2021 CFBundleIconFile studio.icns CFBundleIdentifier com.google.android.studio CFBundleInfoDictionaryVersion 6.0 CFBundleName Android Studio CFBundlePackageType APPL CFBundleShortVersionString 4.2 CFBundleSignature ???? CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLName Stacktrace CFBundleURLSchemes idea CFBundleVersion AI-202.7660.26.42.7322048 JVMOptions ClassPath $APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/li b/trove4j.jar:$APP_PACKAGE/Contents/lib/jna.jar JVMVersion 1.8*,1.8+ MainClass com.intellij.idea.Main Properties idea.executable studio idea.home.path $APP_PACKAGE/Contents idea.paths.selector AndroidStudio4.2 idea.platform.prefix AndroidStudio idea.vendor.name Google LSApplicationCategoryType public.app-category.developer-tools LSArchitecturePriority x86_64 LSMinimumSystemVersion 10.8 LSRequiresNativeExecution YES NSCameraUsageDescription An application in Android Studio requests access to the device's camera. NSDesktopFolderUsageDescription An application in Android Studio requests access to the user's Desktop folder. NSDocumentsFolderUsageDescription An application in Android Studio requests access to the user's Documents folder. NSDownloadsFolderUsageDescription An application in Android Studio requests access to the user's Downloads folder. NSHighResolutionCapable NSLocationUsageDescription An application in Android Studio requests access to the user's location information. NSMicrophoneUsageDescription An application in Android Studio requests access to the device's microphone. NSNetworkVolumesUsageDescription An application in Android Studio requests access to files on a network volume. NSRemovableVolumesUsageDescription An application in Android Studio requests access to files on a removable volume. NSSupportsAutomaticGraphicsSwitching [ +59 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +137 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ ] openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6916264, mixed mode) [ +2 ms] executing: [/Users/devfuretcompany/example_bug_webview/android/] /Users/devfuretcompany/example_bug_webview/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/Users/devfuretcompany/example_bug_webview/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+4857 ms] > Task :app:compileFlutterBuildDebug [ +6 ms] [ +158 ms] executing: sysctl hw.optional.arm64 [ ] [ +35 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] [ +3 ms] hw.optional.arm64: 1 [ ] [ +11 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +21 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] 5464c5bac742001448fe4fc0597be939379f88ea [ ] [ +1 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git tag --points-at 5464c5bac742001448fe4fc0597be939379f88ea [ ] [ +29 ms] Exit code 0 from: git tag --points-at 5464c5bac742001448fe4fc0597be939379f88ea [ ] [ ] 2.10.5 [ ] [ +12 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/Users/devfuretcompany/Documents/flutter/] git ls-remote --get-url origin [ ] [ +18 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +95 ms] executing: [/Users/devfuretcompany/Documents/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +10 ms] executing: sw_vers -productName [ ] [ +16 ms] Exit code 0 from: sw_vers -productName [ ] [ ] macOS [ ] [ ] executing: sw_vers -productVersion [ ] [ +16 ms] Exit code 0 from: sw_vers -productVersion [ ] [ ] 12.2.1 [ ] [ ] executing: sw_vers -buildVersion [ ] [ +15 ms] Exit code 0 from: sw_vers -buildVersion [ ] [ ] 21D62 [ ] [ +66 ms] 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. [ ] [ +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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. [ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +125 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ +2 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. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +134 ms] Initializing file store [ ] [ +34 ms] Skipping target: gen_localizations [ ] [ +17 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/devfuretcompany/example_bug_webview/.dart_tool/package_config_subset} [ ] [ +29 ms] Found plugin flutter_inappwebview at /Users/devfuretcompany/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ [ ] [ +28 ms] gen_dart_plugin_registrant: Complete [ ] [ +4 ms] kernel_snapshot: Starting due to {} [ ] [ +14 ms] /Users/devfuretcompany/Documents/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/devfuretcompany/Documents/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/devfuretcompany/Documents/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /Users/devfuretcompany/example_bug_webview/.dart_tool/package_config.json --output-dill /Users/devfuretcompany/example_bug_webview/.dart_tool/flutter_build/b3b807c9416befe9eddea69f07274aca/app.dill --depfile /Users/devfuretcompany/example_bug_webview/.dart_tool/flutter_build/b3b807c9416befe9eddea69f07274aca/kernel_snapshot.d package:example_bug_webview/main.dart [+6356 ms] [+6960 ms] kernel_snapshot: Complete [ +402 ms] [ +383 ms] debug_android_application: Starting due to {} [ +99 ms] [ +163 ms] debug_android_application: Complete [ +496 ms] [ +469 ms] Persisting file store [ ] [ +6 ms] Done persisting file store [ ] [ +6 ms] build succeeded. [ +3 ms] [ +14 ms] "flutter assemble" took 8β€―427ms. [ +97 ms] [ +59 ms] ensureAnalyticsSent: 44ms [ ] [ +1 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +202 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] > Task :flutter_inappwebview:preBuild UP-TO-DATE [ ] > Task :flutter_inappwebview:preDebugBuild UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugAidl NO-SOURCE [ ] > Task :app:compileDebugAidl NO-SOURCE [ ] > Task :flutter_inappwebview:packageDebugRenderscript NO-SOURCE [ ] > Task :app:compileDebugRenderscript NO-SOURCE [ ] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :flutter_inappwebview:writeDebugAarMetadata UP-TO-DATE [ +100 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE [ +3 ms] > Task :app:cleanMergeDebugAssets [ ] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders NO-SOURCE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugShaders UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugShaders NO-SOURCE [ ] > Task :flutter_inappwebview:generateDebugAssets UP-TO-DATE [ ] > Task :flutter_inappwebview:packageDebugAssets UP-TO-DATE [ +93 ms] > Task :app:mergeDebugAssets [ +197 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugRenderscript NO-SOURCE [ ] > Task :flutter_inappwebview:generateDebugResValues UP-TO-DATE [ ] > Task :flutter_inappwebview:generateDebugResources UP-TO-DATE [ +102 ms] > Task :flutter_inappwebview:packageDebugResources UP-TO-DATE [ ] > Task :app:mergeDebugResources UP-TO-DATE [ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :app:extractDeepLinksDebug UP-TO-DATE [ ] > Task :flutter_inappwebview:extractDeepLinksDebug UP-TO-DATE [ ] > Task :flutter_inappwebview:processDebugManifest UP-TO-DATE [ ] > Task :app:processDebugMainManifest UP-TO-DATE [ ] > Task :app:processDebugManifest UP-TO-DATE [ ] > Task :app:processDebugManifestForPackage UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugLibraryResources UP-TO-DATE [ ] > Task :flutter_inappwebview:parseDebugLocalResources UP-TO-DATE [ ] > Task :flutter_inappwebview:generateDebugRFile UP-TO-DATE [ +95 ms] > Task :app:processDebugResources UP-TO-DATE [ ] > Task :flutter_inappwebview:generateDebugBuildConfig UP-TO-DATE [ ] > Task :flutter_inappwebview:javaPreCompileDebug UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :flutter_inappwebview:bundleLibCompileToJarDebug UP-TO-DATE [ +101 ms] > Task :app:compileDebugKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDebug UP-TO-DATE [ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDebugSources UP-TO-DATE [ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [ ] > Task :app:compressDebugAssets UP-TO-DATE [ ] > Task :app:processDebugJavaRes NO-SOURCE [ ] > Task :flutter_inappwebview:processDebugJavaRes NO-SOURCE [ ] > Task :flutter_inappwebview:bundleLibResDebug NO-SOURCE [ ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ ] > Task :flutter_inappwebview:bundleLibRuntimeToJarDebug UP-TO-DATE [ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ ] > Task :app:dexBuilderDebug UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ ] > Task :app:mergeDexDebug UP-TO-DATE [ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugNativeLibs NO-SOURCE [ ] > Task :flutter_inappwebview:stripDebugDebugSymbols NO-SOURCE [ ] > Task :flutter_inappwebview:copyDebugJniLibsProjectOnly UP-TO-DATE [ +94 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ ] > Task :app:packageDebug UP-TO-DATE [ ] > Task :app:assembleDebug [ ] > Task :flutter_inappwebview:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ +101 ms] > Task :flutter_inappwebview:extractDebugAnnotations UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugGeneratedProguardFiles UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] > Task :flutter_inappwebview:prepareLintJarForPublish UP-TO-DATE [ ] > Task :flutter_inappwebview:mergeDebugJavaResource UP-TO-DATE [ ] > Task :flutter_inappwebview:syncDebugLibJars UP-TO-DATE [ ] > Task :flutter_inappwebview:bundleDebugAar UP-TO-DATE [ ] > Task :flutter_inappwebview:compileDebugSources UP-TO-DATE [ ] > Task :flutter_inappwebview:assembleDebug UP-TO-DATE [ +46 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings [ ] BUILD SUCCESSFUL in 13s [ ] 57 actionable tasks: 5 executed, 52 up-to-date [ +448 ms] Running Gradle task 'assembleDebug'... (completed in 14,2s) [ +41 ms] calculateSha: LocalDirectory: '/Users/devfuretcompany/example_bug_webview/build/app/outputs/flutter-apk'/app.apk [ +494 ms] βœ“ Built build/app/outputs/flutter-apk/app-debug.apk. [ +27 ms] executing: /Users/devfuretcompany/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/devfuretcompany/example_bug_webview/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +36 ms] Exit code 0 from: /Users/devfuretcompany/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/devfuretcompany/example_bug_webview/build/app/outputs/flutter-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)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.example.example_bug_webview" (Raw: "com.example.example_bug_webview") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x11 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: queries (line=16) E: intent (line=17) E: action (line=18) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") E: application (line=22) A: android:label(0x01010001)="example_bug_webview" (Raw: "example_bug_webview") A: android:icon(0x01010002)=@0x7f0d0000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") 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)=@0x7f0f00a3 A: android:name(0x01010003)="com.example.example_bug_webview.MainActivity" (Raw: "com.example.example_bug_webview.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff 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=43) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0f00a4 E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=50) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=57) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: activity (line=61) A: android:theme(0x01010000)=@0x7f0f0005 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 E: activity (line=66) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=70) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=74) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: activity (line=79) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: receiver (line=85) A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=90) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=94) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=97) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: provider (line=101) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.example_bug_webview.androidx-startup" (Raw: "com.example.example_bug_webview.androidx-startup") E: meta-data (line=105) A: android:name(0x01010003)="androidx.emoji2.text.EmojiCompatInitializer" (Raw: "androidx.emoji2.text.EmojiCompatInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: meta-data (line=108) A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") [ +24 ms] Stopping app 'app.apk' on M2102J20SG. [ +1 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell am force-stop com.example.example_bug_webview [ +188 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell pm list packages com.example.example_bug_webview [ +132 ms] package:com.example.example_bug_webview [ +4 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell cat /data/local/tmp/sky.com.example.example_bug_webview.sha1 [ +85 ms] a28fc063b690bde65ab3ca084d208e5146a2ae3d [ +1 ms] Latest build already installed. [ +1 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell -x logcat -v time -t 1 [ +154 ms] --------- beginning of main 05-17 16:13:49.354 I/TetheringManager( 4275): registerTetheringEventCallback:com.google.android.apps.wellbeing [ +26 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.example_bug_webview/com.example.example_bug_webview.MainActivity [ +80 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.example_bug_webview/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... [ +709 ms] Observatory URL on device: http://127.0.0.1:37213/EUxgfmn0BAE=/ [ +1 ms] executing: /Users/devfuretcompany/Library/Android/sdk/platform-tools/adb -s 8d9b713f forward tcp:0 tcp:37213 [ +29 ms] 50196 [ ] Forwarded host port 50196 to device port 37213 for Observatory [ +10 ms] Caching compiled dill [ +25 ms] Connecting to service protocol: http://127.0.0.1:50196/EUxgfmn0BAE=/ [ +286 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:50196/EUxgfmn0BAE=/. [ +236 ms] DDS is listening at http://127.0.0.1:50199/kQCYI50s2Cc=/. [ +87 ms] Successfully connected to service protocol: http://127.0.0.1:50196/EUxgfmn0BAE=/ [ +112 ms] DevFS: Creating new filesystem on the device (null) [ +44 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.example_bug_webview/code_cache/example_bug_webviewKKJGVF/example_bug_webview/) [ +2 ms] Updating assets [ +84 ms] Syncing files to device M2102J20SG... [ +2 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ ] Processing bundle. [ +2 ms] <- recompile package:example_bug_webview/main.dart e01ca58b-ef3f-4197-8a3d-5f9a1d656ca4 [ ] <- e01ca58b-ef3f-4197-8a3d-5f9a1d656ca4 [ +2 ms] Bundle processing done. [ +63 ms] Updating files. [ ] DevFS: Sync finished [ +5 ms] Syncing files to device M2102J20SG... (completed in 71ms) [ ] Synced 0.0MB. [ +1 ms] <- accept [ +9 ms] Connected to _flutterView/0xb40000753d1c9c20. [ +4 ms] Flutter run key commands. [ +2 ms] r Hot reload. πŸ”₯πŸ”₯πŸ”₯ [ +1 ms] R Hot restart. [ ] h List all available interactive commands. [ ] d Detach (terminate "flutter run" but leave application running). [ ] c Clear the screen [ ] q Quit (terminate the application on the device). [ ] πŸ’ͺ Running with sound null safety πŸ’ͺ [ ] An Observatory debugger and profiler on M2102J20SG is available at: http://127.0.0.1:50199/kQCYI50s2Cc=/ [+1012 ms] D/EgretLoader( 4441): EgretLoader(Context context) [ +3 ms] D/EgretLoader( 4441): The context is not activity [ +29 ms] W/ple_bug_webvie( 4441): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed) [ ] W/ple_bug_webvie( 4441): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed) [ ] W/ple_bug_webvie( 4441): Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed) [ +38 ms] I/System.out( 4441): recordForce value 3 [ +12 ms] W/ple_bug_webvie( 4441): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) [ +13 ms] W/cr_media( 4441): Requires BLUETOOTH permission [ +97 ms] I/ple_bug_webvie( 4441): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000 [ +5 ms] The Flutter DevTools debugger and profiler on M2102J20SG is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:50199/kQCYI50s2Cc=/ [ +60 ms] W/ContentCatcher( 4441): Failed to notify a WebView ``` ``` Analyzing example_bug_webview... No issues found! (ran in 1.8s) ``` ``` [βœ“] Flutter (Channel stable, 2.10.5, on macOS 12.2.1 21D62 darwin-arm, locale fr-FR) β€’ Flutter version 2.10.5 at /Users/devfuretcompany/Documents/flutter β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700 β€’ Engine revision 57d3bac3dd β€’ Dart version 2.16.2 β€’ DevTools version 2.9.2 [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1) β€’ Android SDK at /Users/devfuretcompany/Library/Android/sdk β€’ Platform android-32, build-tools 33.0.0-rc1 β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 13.3) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ CocoaPods version 1.10.1 [βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio (version 4.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) [βœ“] Connected device (2 available) β€’ M2102J20SG (mobile) β€’ 8d9b713f β€’ android-arm64 β€’ Android 11 (API 30) β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 101.0.4951.64 [βœ“] HTTP Host Availability β€’ All required HTTP hosts are available β€’ No issues found! ```

https://user-images.githubusercontent.com/32543363/168830359-235c20f6-95c0-4849-968a-962a74aa571b.mp4

UsamaKarim commented 2 years ago

Hi, you are using a third-party package & the issue is not directly related to Flutter itself. It would be helpful for you to get help regarding this issue from the package developer.

fch21 commented 2 years ago

I also created an issue for the third-party package: https://github.com/pichillilorenzo/flutter_inappwebview/issues/1186

But since I saw this other problem that I suspect may be connected, I believe it may be a flutter problem related to the hybrid composition :

https://github.com/flutter/flutter/issues/96153

huycozy commented 2 years ago

Hi @fch21, thanks for filing the issue. But this issue is not reproducible on the latest stable and master channels.

Demo https://user-images.githubusercontent.com/104349824/168975536-9447497d-2646-4c6d-a8a7-fa7915abea3b.mov
flutter doctor -v ```bash [βœ“] Flutter (Channel stable, 3.0.0, on macOS 12.2.1 21D62 darwin-x64, locale en-VN) β€’ Flutter version 3.0.0 at /Users/huynq/Documents/GitHub/flutter β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision ee4e09cce0 (2 days ago), 2022-05-09 16:45:18 -0700 β€’ Engine revision d1b9a6938a β€’ Dart version 2.17.0 β€’ DevTools version 2.12.2 [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0) β€’ Android SDK at /Users/huynq/Library/Android/sdk β€’ Platform android-31, build-tools 31.0.0 β€’ ANDROID_HOME = /Users/huynq/Library/Android/sdk β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 13.2.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ CocoaPods version 1.11.3 [βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio (version 2021.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) [βœ“] Android Studio (version 4.1) β€’ Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [βœ“] Android Studio β€’ Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) [βœ“] IntelliJ IDEA Community Edition (version 2020.3.3) β€’ IntelliJ at /Applications/IntelliJ IDEA CE.app β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart [βœ“] VS Code (version 1.67.0) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.40.0 [βœ“] Connected device (3 available) β€’ iPhone 13 (mobile) β€’ 5F5D609C-3B0B-4C48-872C-961928157361 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator) β€’ macOS (desktop) β€’ macos β€’ darwin-x64 β€’ macOS 12.2.1 21D62 darwin-x64 β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 101.0.4951.54 [βœ“] HTTP Host Availability β€’ All required HTTP hosts are available β€’ No issues found! ``` ```bash [βœ“] Flutter (Channel master, 3.1.0-0.0.pre.771, on macOS 12.2.1 21D62 darwin-x64, locale en-VN) β€’ Flutter version 3.1.0-0.0.pre.771 at /Users/huynq/Documents/GitHub/flutter_master β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision ec02990646 (44 minutes ago), 2022-05-18 02:12:11 -0400 β€’ Engine revision 91b3a6d8f8 β€’ Dart version 2.18.0 (build 2.18.0-127.0.dev) β€’ DevTools version 2.13.1 [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0) β€’ Android SDK at /Users/huynq/Library/Android/sdk β€’ Platform android-32, build-tools 31.0.0 β€’ ANDROID_HOME = /Users/huynq/Library/Android/sdk β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 13.2.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ CocoaPods version 1.11.3 [βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio (version 2021.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) [βœ“] Android Studio (version 4.1) β€’ Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [!] Android Studio β€’ Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart βœ— Unable to find bundled Java version. β€’ Try updating or re-installing Android Studio. [βœ“] IntelliJ IDEA Community Edition (version 2020.3.3) β€’ IntelliJ at /Applications/IntelliJ IDEA CE.app β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart [βœ“] VS Code (version 1.67.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.40.0 [βœ“] Connected device (3 available) β€’ iPhone 13 (mobile) β€’ 5F5D609C-3B0B-4C48-872C-961928157361 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator) β€’ macOS (desktop) β€’ macos β€’ darwin-x64 β€’ macOS 12.2.1 21D62 darwin-x64 β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 101.0.4951.64 [βœ“] HTTP Host Availability β€’ All required HTTP hosts are available ! Doctor found issues in 1 category. ```

There is an explanation here that related to this issue. Take a look at the in_app_webview's source code and you'll see the same. So, let's upgrade your Flutter SDK to the latest and try again.

Closing this issue as above explanation. If you disagree, please write in the comments and I will reopen it.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.