How can I enable socket connection on iOS?
With LowEntrySocketConnectionPlugin, I can connect to my server from Android and Windows, but I can’t connect from iOS.
What should I do to give permission to socket connections on iOS?
How can I enable socket connection on iOS?
With LowEntrySocketConnectionPlugin, I can connect to my server from Android and Windows, but I can’t connect from iOS.
What should I do to give permission to socket connections on iOS?
I also need help with this any answer?
Try
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
or
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>www.xxxx.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
Add to the pList under ProjectSetting->IOS
Dont include // in the key like"http://",just www
Hope it helps
Thanks