Run webview_flutter example app(https://github.com/flutter/plugins/tree/master/packages/webview_flutter/example) with inital_url: "https://kreatryx.com" On Android it just shows white screen with Zopim chat bar on the bottom right. On iOS it runs fine. Any solution for android?
What I've already tried: 1. Flutter channel dev 2. Flutter channel master
Thanks to the github Issues reference in this post, the following solution worked for me to edit Info.plist:
<key>io.flutter.embedded_views_preview</key>
<string>YES</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key> <true/>
<key>NSAllowsArbitraryLoadsInWebContent</key> <true/>
</dict>
I am new to working with Info.plist, and wasn't sure if the <dict>
tags could be nested like that, but apparently it's ok.
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