Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter webview net::ERR_NAME_NOT_RESOLVED

flutter webview net::ERR_NAME_NOT_RESOLVED please note that the problem shown with the release not the debug

 WebView(
  initialUrl: widget.url,
  onPageFinished: (data){
    updateLoadingState(false);
  },
  javascriptMode: JavascriptMode.unrestricted,
  onWebViewCreated: (webViewController){
    _webViewController = webViewController;
  },
)
like image 371
Husamuldeen Avatar asked Oct 17 '25 08:10

Husamuldeen


1 Answers

This error usually occurs when you are testing with the emulator or when your internet connection is poor. If you are running your app on an emulator and you encounter this problem, trying running the app on a real device. If the error persists, add internet permission to your android manifest.

like image 143
Victor Ayodeji Ogundola Avatar answered Oct 19 '25 22:10

Victor Ayodeji Ogundola



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!