You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Silently recovers from common connection problems
10
10
- Everything runs on a native background thread
@@ -129,6 +129,19 @@ Option | Description
129
129
`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.
130
130
`validatesDomainName?: boolean` | Default: `true`. Determines if the domain name should be validated with your pinned certificate.
131
131
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.
0 commit comments