Pitfalls with iOS Development

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
DanShafer
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 21
Joined: Thu Feb 03, 2011 8:51 pm

Pitfalls with iOS Development

Post by DanShafer » Mon May 15, 2017 9:32 pm

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_Panos
Posts: 304
Joined: Fri Feb 06, 2015 4:03 pm

Re: Pitfalls with iOS Development

Post by LiveCode_Panos » Mon May 15, 2017 9:48 pm

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
--

jekyllandhyde
Posts: 89
Joined: Thu Feb 14, 2013 7:17 pm

Re: Pitfalls with iOS Development

Post by jekyllandhyde » Thu May 18, 2017 9:12 pm

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

Post Reply

Return to “iOS Deployment”