Browse Source

Update README.md

Added iOS docs
Rafal Wachol 6 years ago
parent
commit
ec6516d0d0
1 changed files with 17 additions and 0 deletions
  1. 17 0
      README.md

+ 17 - 0
README.md

@@ -16,6 +16,23 @@ you won't be able to use snackbars, dialogs ...
 
 For help getting started with Flutter, view our online [documentation](http://flutter.io/).
 
+#### iOS
+
+In order for plugin to work correctly, you need to add new key to `ios/Runner/Info.plist`
+
+```xml
+<key>NSAppTransportSecurity</key>
+<dict>
+    <key>NSAllowsArbitraryLoads</key>
+    <true/>
+    <key>NSAllowsArbitraryLoadsInWebContent</key>
+    <true/>
+</dict>
+```
+
+`NSAllowsArbitraryLoadsInWebContent` is for iOS 10+ and `NSAllowsArbitraryLoads` for iOS 9.
+
+
 ### How it works
 
 #### Launch WebView Fullscreen with Flutter navigation