Thanks Monte.

> As I just commented on the bug report you should be able to resolve this using the following plist entry:

That solution does work, but only on iOS 10 or later, so prevents apps from earlier working.

> This is actually a general issue for anyone wanting to run a little in app HTTP server like the OAuth2 lib or the httpd lib.

Not that this is necessarily a priority, but can I check whether there's a theoretical capability to run such a server accepting HTTPS connections? Or is the only solution to keep using HTTP, and limit the apps to iOS > 10?

Many thanks,

Ben



On 25/07/2018 23:53, Monte Goulding via use-livecode wrote:


On 26 Jul 2018, at 12:54 am, Ben Rubinstein via use-livecode 
<[email protected]> wrote:

I've been trying with some variations of this - so far without success!

Hi Ben

As I just commented on the bug report you should be able to resolve this using 
the following plist entry:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsLocalNetworking</key>
    <true/>
</dict>

This is actually a general issue for anyone wanting to run a little in app HTTP 
server like the OAuth2 lib or the httpd lib. So we need a checkbox on 
standalone settings and then including either of those libs should force the 
setting.

In the meantime a custom plist template should keep you going.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to