flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

Error Failed to notify a WebView

Open hamid3d opened this issue 4 years ago • 21 comments

Hi I use flutter_webview_plugin and webview runs without any problem but on xioami I get below error:

W/ResourceType(14267): Found multiple library tables, ignoring... I/WebViewFactory(13523): Loading com.android.chrome version 83.0.4103.106 (code 410410673) I/cr_LibraryLoader(13523): Loaded native library version number "83.0.4103.106" I/cr_CachingUmaRecorder(13523): Flushed 3 samples from 3 histograms. W/ResourceType(13523): Failure getting entry for 0x7f130569 (t=18 e=1385) (error -2147483647) D/EgretLoader(13523): EgretLoader(Context context) D/EgretLoader(13523): The context is not activity W/ContentCatcher(13523): Failed to notify a WebView W/cr_media(13523): Requires BLUETOOTH permission E/libEGL (13523): validate_display:99 error 3008 (EGL_BAD_DISPLAY) W/Adreno-ES20(13523): <get_gpu_clk:229>: open failed: errno 13 D/NetworkSecurityConfig(13523): No Network Security Config specified, using platform default W/VideoCapabilities(13523): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(13523): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(13523): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(13523): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(13523): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(13523): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(13523): Unsupported mime video/divx W/VideoCapabilities(13523): Unsupported mime video/divx4 W/VideoCapabilities(13523): Unsupported mime video/mp4v-esdp W/VideoCapabilities(13523): Unsupported mime video/mp4v-esdp W/Utils (13523): could not parse long range '35-34' I/VideoCapabilities(13523): Unsupported profile 4 for video/mp4v-es W/Adreno-ES20(13523): <get_gpu_clk:229>: open failed: errno 13

I do not know what is problem. Do you know how to solve this problem?

hamid3d avatar Jun 22 '20 10:06 hamid3d

Same here

PaoloP98 avatar Nov 08 '20 07:11 PaoloP98

Have you tried calling different url

AdnanKazi avatar Nov 26 '20 07:11 AdnanKazi

i am also facing this issue, did you find any solution?

wrteam-priyansh avatar Dec 18 '20 07:12 wrteam-priyansh

Is it solve. Please help I am facing the same problem

faysalneowaz avatar Mar 30 '21 13:03 faysalneowaz

Yeah i do have the same problem

D/EgretLoader(16649): EgretLoader(Context context) D/EgretLoader(16649): The context is not activity W/ContentCatcher(16649): Failed to notify a WebView W/ContentCatcher(16649): Failed to notify a WebView W/ContentCatcher(16649): Failed to notify a WebView

Ali-992 avatar Jun 12 '21 21:06 Ali-992

i am also facing this issue

neha737 avatar Jun 14 '21 14:06 neha737

me too, any suggestion ?

isoneday avatar Jun 21 '21 13:06 isoneday

Hello everyone, in my case I was trying to access a route with ssl but I had written http: // ... when changing it to https: // .... the problem was solved.

RodrigoScott avatar Jul 13 '21 16:07 RodrigoScott

using https but not working too, any update ?

bagus-repository avatar Jul 14 '21 12:07 bagus-repository

open issue single 2020. It's mean, is this plugin not suitable for production app?

bhanuka96 avatar Jul 22 '21 08:07 bhanuka96

Is there any solution for this?? Please help

awaisahmad94 avatar Jul 26 '21 06:07 awaisahmad94

i am also facing this issue :(

conghaonet avatar Aug 02 '21 18:08 conghaonet

Maybe you should set it up: javascriptMode: JavascriptMode.unrestricted

a354123417 avatar Aug 03 '21 07:08 a354123417

Same here

D/EgretLoader(24654): EgretLoader(Context context)
D/EgretLoader(24654): The context is not activity
W/vn.moneycat(24654): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
W/cr_media(24654): Requires BLUETOOTH permission
2
W/ContentCatcher(24654): Failed to notify a WebView

Bluetooth permission for WebView... WTF?!

subzero911 avatar Sep 15 '21 13:09 subzero911

D/EgretLoader(11960): EgretLoader(Context context) D/EgretLoader(11960): The context is not activity W/ContentCatcher(11960): Failed to notify a WebView W/System (11960): A resource failed to call release.

Ashok-Kumar9 avatar Jan 10 '22 10:01 Ashok-Kumar9

i changed my https to http and it worked for me

shresthashreee avatar Jun 18 '22 08:06 shresthashreee

https://stackoverflow.com/questions/58362357/flutter-webview-plugin-error-on-android-9

It's work for my issue

intandewani avatar Jun 20 '22 07:06 intandewani

Is there a solution to this??I am getting the same error and nothing as said above resolved the issue

KanikaRaheja avatar Dec 29 '22 10:12 KanikaRaheja

news about this?

felipecastrosales avatar Feb 02 '23 18:02 felipecastrosales

Is there a solution to this?

abdulrojakdev avatar Feb 06 '23 03:02 abdulrojakdev

Try prefixing the desired url string value with "https" before assigning it to the initialUrl parameter of the WebView() widget, like so:

initialUrl: "https:${widget.webViewUrl}",

This worked for me on Xiaomi Redmi 7A

mwanagenzi avatar Mar 02 '23 13:03 mwanagenzi