Download and run stacks on iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

ctceismc
Posts: 6
Joined: Wed Jul 20, 2011 2:23 am

Re: Download and run stacks on iOS

Post by ctceismc » Fri Sep 09, 2011 3:32 am

I wonder if Apple would notice/mind if you put the stack in a SQLlite database, downloaded the db, and extracted the stack to the local file system and ran it from there? This would allow you to create one app that could run lots of other apps. A digital bookshelf for interactive books or a series of on demand games for example.

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Download and run stacks on iOS

Post by Jellicle » Fri Sep 09, 2011 3:34 am

ctceismc wrote:I wonder if Apple would notice/mind if you put the stack in a SQLlite database, downloaded the db, and extracted the stack to the local file system and ran it from there? This would allow you to create one app that could run lots of other apps. A digital bookshelf for interactive books or a series of on demand games for example.
Why bother putting it in a database?

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Download and run stacks on iOS

Post by Jellicle » Fri Sep 09, 2011 9:19 am

Run this stack in the iOS simulator, and click the download button - it'll download a stack and, when it's downloaded, it'll go to it.

Enjoy.

Gerry
Attachments
Download Stack.livecode.zip
(3.27 KiB) Downloaded 464 times
Last edited by Jellicle on Sat Nov 05, 2011 5:52 am, edited 2 times in total.
14" MacBook Pro
Former LiveCode developer.
Now recovering.

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Download and run stacks on iOS

Post by SparkOut » Fri Sep 09, 2011 9:49 am

There's a difference between "it working" and "Apple noticing" and "Apple minding" though :wink:

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Download and run stacks on iOS

Post by Jellicle » Fri Sep 09, 2011 10:14 am

SparkOut wrote:There's a difference between "it working" and "Apple noticing" and "Apple minding" though :wink:
Oh sure. We are mice. Apple's the cat. LiveCode isn't alone in being able to do this and it's up to Apple to catch apps that break their rules. I'd never use this method, nor encourage its use; it's just a proof of concept.

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Download and run stacks on iOS

Post by FourthWorld » Sat Nov 05, 2011 8:07 am

Jellicle wrote:We are mice. Apple's the cat. LiveCode isn't alone in being able to do this and it's up to Apple to catch apps that break their rules. I'd never use this method, nor encourage its use; it's just a proof of concept.
Unfortunately, the cat in question also has the power to ban a developer from its store. Given that such systems can be used to build custom stores, it seems unlikely Apple would be very forgiving if caught.

So with this policy Apple offers one more advantage to Android, where things like this are completely acceptable.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

trevix
Posts: 962
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Download and run stacks on iOS

Post by trevix » Wed Feb 18, 2015 7:10 pm

Hi.
This is an old topic but I'll try at it anyway.

I feel that this is just an Apple gimmick to make more money, because security should be taken care by sandboxing, wright? And also how come that you can do it in desktop and is not allowed by Apple in iOS? Just because they tough about it to late ?
I think there could be a nice niche for companies that need to distribute their in-house apps this way...
Share your thinking...
Trevix
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Download and run stacks on iOS

Post by FourthWorld » Wed Feb 18, 2015 8:43 pm

My understanding is that Apple's main concern is that they could reivew an app, and then the app could download code which could entirely change what it does, perhaps becoming an entirely different type of app, or worse, could download malicious code.

When stack files contain no code I can't imagine Apple would have a problem with downloading them, any more than they'd have a problem with any other binary data format.

For the case you propose, in which we could use this for deployments internal to an organization, it would seem a really great solution that Apple shouldn't have an opinion about, since it's up to an organization what they run on their own devices.

Indeed, I'm not sure how Apple could stop such a deployment even if they did have an opinion about it. After all, it's not like they could pull it from the app store if it was never in the app store to begin with.

Still, they may be able to revoke runtime privileges, so it may be prudent to double-check with them first before undertaking any substantial investment in an app that relies on this.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “iOS Deployment”