Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
android.webkit.WebSettingsWrapper cannot be cast to com.android.webview.chromium.ContentSettingsAdapter
Expected Behavior
Operating System, Device-specific and/or Tool
Device: OnePlus
Operating system: Android 11
Library version
v1.9.20
Steps with code example to reproduce
Steps with code example to reproduce
Operating System, Device-specific and/or Tool
Device: OnePlus
Operating system: Android 11
Library version
v1.9.20
Stacktrace/Logs
Stacktrace/Logs
PlatformException(error, android.webkit.WebSettingsWrapper cannot be cast to com.android.webview.chromium.ContentSettingsAdapter, null, java.lang.ClassCastException: android.webkit.WebSettingsWrapper cannot be cast to com.android.webview.chromium.ContentSettingsAdapter
at Ye0.convertSettings(chromium-TrichromeWebViewGoogle.apk-stable-443021036:2)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:423)
at Zc.invoke(chromium-TrichromeWebViewGoogle.apk-stable-443021036:5)
at java.lang.reflect.Proxy.invoke(Proxy.java:1008)
at $Proxy7.convertSettings(Unknown Source)
at m8.r.a(SourceFile:9)
at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.InAppWebView.prepare(SourceFile:797)
at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.FlutterWebView.<init>(SourceFile:214)
at com.pichillilorenzo.flutter_inappwebview_android.webview.FlutterWebViewFactory.create(SourceFile:102)
at io.flutter.plugin.platform.r.d(SourceFile:43)
at a0.v2.onMethodCall(SourceFile:1724)
at em.c.e(SourceFile:17)
at xl.b.run(SourceFile:140)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7680)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:423)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
)
Flutter version
3.29.2
Operating System, Device-specific and/or Tool
Android 11
Plugin version
6.1.5
Additional information
No response
Self grab
- I'm ready to work on this issue!