Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Failed to notify a WebView #772

Open
hamid3d opened this issue Jun 22, 2020 · 21 comments
Open

Error Failed to notify a WebView #772

hamid3d opened this issue Jun 22, 2020 · 21 comments

Comments

@hamid3d
Copy link

hamid3d commented Jun 22, 2020

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
Copy link

PaoloP98 commented Nov 8, 2020

Same here

@AdnanKazi
Copy link

Have you tried calling different url

@wrteam-priyansh
Copy link

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

@faysalneowaz
Copy link

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

@Ali-992
Copy link

Ali-992 commented Jun 12, 2021

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
Copy link

neha737 commented Jun 14, 2021

i am also facing this issue

@isoneday
Copy link

me too, any suggestion ?

@RodrigoScott
Copy link

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
Copy link

using https but not working too, any update ?

@bhanuka96
Copy link

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

@awaisahmad94
Copy link

Is there any solution for this?? Please help

@conghaonet
Copy link

i am also facing this issue :(

@a354123417
Copy link

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

@subzero911
Copy link

subzero911 commented Sep 15, 2021

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
Copy link

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
Copy link

i changed my https to http and it worked for me

@intandewani
Copy link

@KanikaRaheja
Copy link

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

@felipecastrosales
Copy link

news about this?

@abdulrojakdev
Copy link

Is there a solution to this?

@mwanagenzi
Copy link

mwanagenzi commented Mar 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests