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;
},
)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With