Skip to content

Commit 6464247

Browse files
authored
Update README.md
1 parent d84f369 commit 6464247

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Easily integrate the most reliable native networking libraries with the latest a
44
#### A drop-in replacement for the [default http module](https://docs.nativescript.org/cookbook/http#get-response-status-code).
55

66
## Features
7-
- Modern TLS security features
7+
- Modern TLS & SSL security features
88
- Shared connection pooling reduces request latency
99
- Silently recovers from common connection problems
1010
- Everything runs on a native background thread
@@ -129,6 +129,19 @@ Option | Description
129129
`allowInvalidCertificates?: boolean` | Default: `false`. This should **always** be `false` if you are using SSL pinning. Set this to `true` if you're using a self-signed certificate.
130130
`validatesDomainName?: boolean` | Default: `true`. Determines if the domain name should be validated with your pinned certificate.
131131

132+
## `iOS` Troubleshooting
133+
> ### Please educate yourself on iOS's [App Transport Security](https://github.com/codepath/ios_guides/wiki/App-Transport-Security) before starting beef!
134+
If you try and hit an `https` route without adding it to App Transport Security's whitelist it will not work!
135+
You can bypass this behavior by adding the following to your projects `Info.plist`:
136+
```xml
137+
<key>NSAppTransportSecurity</key>
138+
<dict>
139+
<key>NSAllowsArbitraryLoads</key>
140+
<true/>
141+
</dict>
142+
```
143+
> This plugin **does not** add `NSAllowsArbitraryLoads` to your projects `Info.plist` for you.
144+
132145

133146

134147

0 commit comments

Comments
 (0)