-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/plugins
#6872Labels
c: crashStack traces logged to the consoleStack traces logged to the consolec: fatal crashCrashes that terminate the processCrashes that terminate the processfound in release: 3.3Found to occur in 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
- Use webview flutter 4.0.0
- Run on android and and open web view
Expected results: webview open
Actual results: app crashed
Code
WebViewWidget( controller: WebViewController() ..loadRequest(Uri.parse(url)), ),
Logs
E/AndroidRuntime(32260): at io.flutter.plugins.webviewflutter.WebChromeClientFlutterApiImpl.getIdentifierForClient(WebChromeClientFlutterApiImpl.java:46)
E/AndroidRuntime(32260): at io.flutter.plugins.webviewflutter.WebChromeClientFlutterApiImpl.onProgressChanged(WebChromeClientFlutterApiImpl.java:40)
E/AndroidRuntime(32260): at io.flutter.plugins.webviewflutter.WebChromeClientHostApiImpl$WebChromeClientImpl.onProgressChanged(WebChromeClientHostApiImpl.java:110)
E/AndroidRuntime(32260): at ka.handleMessage(chromium-TrichromeWebViewGoogle.aab-stable-535912833:278)
E/AndroidRuntime(32260): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(32260): at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(32260): at android.app.ActivityThread.main(ActivityThread.java:7682)
E/AndroidRuntime(32260): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32260): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
E/AndroidRuntime(32260): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
FLutter doctor
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.1 22C65 darwin-arm, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2020.2)
[✓] VS Code (version 1.74.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability```
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolec: fatal crashCrashes that terminate the processCrashes that terminate the processfound in release: 3.3Found to occur in 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version