flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

Flutter : Web-view works on the android but its shows blank on ios.

Open muhammednazil opened this issue 4 years ago • 5 comments

flutter: blocking navigation to NavigationRequest(url: https://google.com/, isForMainFrame: true)}.

its shows like this.

muhammednazil avatar Sep 21 '20 06:09 muhammednazil

Same here. Did you found a solution?

itsmejohndoe avatar Nov 27 '20 23:11 itsmejohndoe

No

muhammednazil avatar Apr 11 '21 06:04 muhammednazil

did you found the solution,i am also having same issue.

CKokila avatar Jan 25 '23 06:01 CKokila

@CKokila I didn't find any particular solution, but my approach was:

  1. Implement the onUrlChanged of the plugin and check if the url is a valid url (if you want it to open or not). Also check your iOS Info.plist to see if you have allowed arbitrary url loads;
  2. Drop this plugin since it's not being maintained anymore and just use the official plugin https://pub.dev/packages/webview_flutter.

Please let me know if this is helpful for you.

itsmejohndoe avatar Jan 26 '23 16:01 itsmejohndoe

@itsmejohndoe old library (https://pub.dev/packages/flutter_webview_plugin) is working but new (https://pub.dev/packages/webview_flutter) library is not working its showing blank screen for some url.

CKokila avatar Jan 27 '23 04:01 CKokila