In app purchase question

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
colourpixels
Posts: 83
Joined: Mon Oct 31, 2011 5:28 am

In app purchase question

Post by colourpixels » Fri Jan 13, 2012 6:03 am

Is it possible to do an in App purchase in Livecode where the purchase adds another stack or adds files? I have an app heavy with video content, and would like to add an optional purchase where users can download the advanced videos as a separate module. I'd love not to have to host the content myself seeing as it's video content and therefor large, so delivery via apple and an in app purchase would be awesome if possible. Or can you only set a flag that the purchase has happened, after which you download content or enable content already hidden in the original app? I'm trying to avoid that as my download will be huge as it is.

I've read through the docs, but came out the other end a bit confused.

Thanks for any help

Cheers
Dale

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: In app purchase question

Post by gpb01 » Sat Jan 14, 2012 12:40 am

colourpixels wrote:Is it possible to do an in App purchase in Livecode where the purchase adds another stack or adds files? .....
Mmm ... from the "App Store Review Guidelines" :

2.7 Apps that download code in any way or form will be rejected
2.8 Apps that install or launch other executable code will be rejected

... so ...

Guglielmo

colourpixels
Posts: 83
Joined: Mon Oct 31, 2011 5:28 am

Re: In app purchase question

Post by colourpixels » Sat Jan 14, 2012 1:20 am

That's code and not digital assets. Lots of apps have extra downloadable content.

bleddy
Posts: 8
Joined: Wed Jan 17, 2007 2:51 am

Re: In app purchase question

Post by bleddy » Thu Jan 19, 2012 8:11 pm

colourpixels wrote:I'd love not to have to host the content myself
You may want to look at a service like Amazon S3 to host your content for download. I would think carefully about letting users stream it from there due to costs, but downloads saved to user's device are pretty cheap.

Bill

colourpixels
Posts: 83
Joined: Mon Oct 31, 2011 5:28 am

Re: In app purchase question

Post by colourpixels » Fri Jan 20, 2012 5:23 am

Thanks for the suggestion of Amazon S3, in the end I have decided to use a vimeo pro account, which offers a 640x480 playback using a custom player (i.e. we can stream it using the iOS media player). I could have embedded an HTML control and played back a HD stream, but then you don't get all the event notifications and the like for making the experience nice for the user. I let the user choose to either stream or download then play. Seems to be working a treat and the pro vimeo account was reasonable cheap.

Cheers
Dale

bleddy
Posts: 8
Joined: Wed Jan 17, 2007 2:51 am

Re: In app purchase question

Post by bleddy » Fri Jan 20, 2012 5:40 pm

in the end I have decided to use a vimeo pro account
That's a great idea. I should have thought of that myself. I manage a website that allows users to post links to their Vimeo or YouTube videos and it's great be cause the same code automatically plays Flash or H.264 depending on the client.

Bill

joe_mobile
Posts: 1
Joined: Fri Jan 20, 2012 10:04 pm

Re: In app purchase question

Post by joe_mobile » Fri Jan 20, 2012 10:38 pm

Dale - First, many thanks for sharing your experience here. It just so happens I am interested in creating a similar type of app (access to online videos), any chance you would be willing to share your LC stack? Many thanks for the consideration, Joe

Appy777
Posts: 42
Joined: Fri Aug 22, 2014 10:14 pm

Re: In app purchase question

Post by Appy777 » Fri Aug 22, 2014 10:55 pm

Hi Dale, I am a Livecode newbie. In fact I don't have any coding experience. I am trying to create a similar scenario within a app. So the will be different categories with loads of videos in each category. One or two videos in each category will be offered free, then the user can pay to access the rest. I too plan to host on Vimeo and have a Vimeo Pro account. I wonder if you would please help me out with code or how it all works?

Post Reply