So I am trying to open a simple webview when a button is clicked.
This is the body of my Scaffold widget:
The interesting part is when I run this flutter project independently it successfully opens the Webview in the iOS simulator. But when I integrated this flutter module into an existing iOS App it doesn’t work (Shows a blank screen). In order to add a flutter module, I have followed this link, the other part of the module works fine.
I have already set this in the info.plist for the flutter module:
I have added the following version in
After a few hours of debugging I found that we need to add this key in the iOS project
info.plist file rather than putting it into the info.plist in the iOS folder of the flutter module
Answered By – Let's_Create
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0