UnityWebRequest, which worked fine on Unity editor, builds and runs on iOS, and SendWebRequest gives an “Unknown Error”.
I used http for the url.
1. Allow http
In order to perform http (insecure communication) on iOS, it seems that you have to add the following to Info.plist and allow it.
The solution is to add the following:
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSExceptionDomains</key> <dict> <key>just-an-example.com</key> <string></string> </dict> </dict>
2. Use https
If you are not particular about http, you can solve it by using https.