Open fluxeducare opened 1 week ago
same behavior on android and flutter 3.24.3 and plugin version 9.1.1.
Same here android 14
*I/PlatformViewsController(18639): Using hybrid composition for platform view: 0
[AndroidInAppWebViewWidget] (android) AndroidInAppWebViewWidget ID 0 calling "onWebViewCreated" using []
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 10}
D/CompatChangeReporter(18639): Compat change id reported: 236825255; UID 10200; state: ENABLED
D/CompatChangeReporter(18639): Compat change id reported: 193247900; UID 10200; state: ENABLED
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onLoadStart" using {url: https://www.youtube.com/}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onUpdateVisitedHistory" using {isReload: false, url: about:blank}
W/om.istchrat.app(18639): ApkAssets: Deleting an ApkAssets object '
Any update?
Is there an existing issue for this?
Package
youtube_player_flutter
What happened?
D/InAppWebView(32240): Using InAppWebViewClientCompat implementation W/cr_WebSettings(32240): setForceDark() is a no-op in an app with targetSdkVersion>=T W/cr_SupportWebSettings(32240): setForceDarkBehavior() is a no-op in an app with targetSdkVersion>=T E/MethodChannel#flutter/platform_views(32240): Failed to handle method call E/MethodChannel#flutter/platform_views(32240): java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:649)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:618)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.WebViewFeature.isFeatureSupported(WebViewFeature.java:611)
What is the expected behaviour?
Loder showing and video not playing
D/InAppWebView(32240): Using InAppWebViewClientCompat implementation W/cr_WebSettings(32240): setForceDark() is a no-op in an app with targetSdkVersion>=T W/cr_SupportWebSettings(32240): setForceDarkBehavior() is a no-op in an app with targetSdkVersion>=T E/MethodChannel#flutter/platform_views(32240): Failed to handle method call E/MethodChannel#flutter/platform_views(32240): java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:649)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:618)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.WebViewFeature.isFeatureSupported(WebViewFeature.java:611)
How to reproduce?
just try to play the video on app
D/InAppWebView(32240): Using InAppWebViewClientCompat implementation W/cr_WebSettings(32240): setForceDark() is a no-op in an app with targetSdkVersion>=T W/cr_SupportWebSettings(32240): setForceDarkBehavior() is a no-op in an app with targetSdkVersion>=T E/MethodChannel#flutter/platform_views(32240): Failed to handle method call E/MethodChannel#flutter/platform_views(32240): java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:649)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:618)
E/MethodChannel#flutter/platform_views(32240): at androidx.webkit.WebViewFeature.isFeatureSupported(WebViewFeature.java:611)
Flutter Doctor Output