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 932 forks source link

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

Open muhammednazil opened 4 years ago

muhammednazil commented 4 years ago

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

its shows like this.

itsmejohndoe commented 3 years ago

Same here. Did you found a solution?

muhammednazil commented 3 years ago

No

CKokila commented 1 year ago

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

itsmejohndoe commented 1 year ago

@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.

CKokila commented 1 year ago

@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.