Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.5
-
None
Description
Hi ,
would like to report on this , i add webchannel + websocket on my mobile app
it works on android but on ios it seems that webview for ios is blocking the connection to its localhost ,
i followed the instructions here https://decovar.dev/blog/2018/07/14/html-from-qml-over-webchannel-websockets/
and check all platform , linux , mac , windows , android and got positive result but only ios is negative .
i already added this nstransportsecurity
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsLocalNetworking</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>127.0.0.1</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
<key>localhost</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
but still not working , am i missing something ? thank you