Pitfalls with iOS Development
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Pitfalls with iOS Development
If you have successfully deployed an LC app on iOS or you've made a sincere run at it and found LC fell short, I'm anxious to hear about any pitfalls and workarounds, any warnings or issues you ran into. I'm comfortable with the process on Apple's side and I'm about to test the workflow process in LC with a simple test app but as always I'm sure there are snakes out there waiting to bite me as I delve into more complex apps. So any warnings and similar advice would be most welcome!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Pitfalls with iOS Development
Hi Dan,
The first thing that comes to my mind is that on iOS an Internet connection will be blocked by ATS (Application Transport Security) if it is not considered "secure".
This will affect:
- Any put/post/load url
- Browser widget
- iOS native browser
- Playing remote files using the play command/ the native iOS player
- ..
To prevent this, you have to either use a https connection (recommended) or turn off ATS in the standalone settings (not recommended)
Best,
Panos
--
The first thing that comes to my mind is that on iOS an Internet connection will be blocked by ATS (Application Transport Security) if it is not considered "secure".
This will affect:
- Any put/post/load url
- Browser widget
- iOS native browser
- Playing remote files using the play command/ the native iOS player
- ..
To prevent this, you have to either use a https connection (recommended) or turn off ATS in the standalone settings (not recommended)
Best,
Panos
--
-
- Posts: 92
- Joined: Thu Feb 14, 2013 7:17 pm
Re: Pitfalls with iOS Development
Dan, Panos,
My IOS App uses get http "non-https connection" calls and I do not have ATS disabled. Everything works fine. The caveat is that I believe Apple allows you to call an IP address over http, but not a domain. Not sure for external domains, but my App was just approved for an internal http call: e.g. http://192.168.1.10
My IOS App uses get http "non-https connection" calls and I do not have ATS disabled. Everything works fine. The caveat is that I believe Apple allows you to call an IP address over http, but not a domain. Not sure for external domains, but my App was just approved for an internal http call: e.g. http://192.168.1.10