Skip to content

Commit 32c7f68

Browse files
authored
Update README.md
Added iOS docs
1 parent 9c05312 commit 32c7f68

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ you won't be able to use snackbars, dialogs ...
1616

1717
For help getting started with Flutter, view our online [documentation](http://flutter.io/).
1818

19+
#### iOS
20+
21+
In order for plugin to work correctly, you need to add new key to `ios/Runner/Info.plist`
22+
23+
```xml
24+
<key>NSAppTransportSecurity</key>
25+
<dict>
26+
<key>NSAllowsArbitraryLoads</key>
27+
<true/>
28+
<key>NSAllowsArbitraryLoadsInWebContent</key>
29+
<true/>
30+
</dict>
31+
```
32+
33+
`NSAllowsArbitraryLoadsInWebContent` is for iOS 10+ and `NSAllowsArbitraryLoads` for iOS 9.
34+
35+
1936
### How it works
2037

2138
#### Launch WebView Fullscreen with Flutter navigation

0 commit comments

Comments
 (0)