fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 928 forks source link

Error Failed to notify a WebView #772

Open hamid3d opened 4 years ago

hamid3d commented 4 years ago

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?

PaoloP98 commented 3 years ago

Same here

AdnanKazi commented 3 years ago

Have you tried calling different url

wrteam-priyansh commented 3 years ago

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

faysalneowaz commented 3 years ago

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

Ali-992 commented 3 years ago

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

neha737 commented 3 years ago

i am also facing this issue

isoneday commented 3 years ago

me too, any suggestion ?

RodrigoScott commented 3 years ago

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.

bagus-repository commented 3 years ago

using https but not working too, any update ?

bhanuka96 commented 3 years ago

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

awaisahmad94 commented 3 years ago

Is there any solution for this?? Please help

conghaonet commented 3 years ago

i am also facing this issue :(

a354123417 commented 3 years ago

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

subzero911 commented 2 years ago

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?!

Ashok-Kumar9 commented 2 years ago

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.

shresthashreee commented 2 years ago

i changed my https to http and it worked for me

intandewani commented 2 years ago

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

It's work for my issue

KanikaRaheja commented 1 year ago

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

felipecastrosales commented 1 year ago

news about this?

abdulrojakdev commented 1 year ago

Is there a solution to this?

mwanagenzi commented 1 year ago

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