Page 1 of 1

In app purchase question

Posted: Fri Jan 13, 2012 6:03 am
by colourpixels
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

Re: In app purchase question

Posted: Sat Jan 14, 2012 12:40 am
by gpb01
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

Re: In app purchase question

Posted: Sat Jan 14, 2012 1:20 am
by colourpixels
That's code and not digital assets. Lots of apps have extra downloadable content.

Re: In app purchase question

Posted: Thu Jan 19, 2012 8:11 pm
by bleddy
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

Re: In app purchase question

Posted: Fri Jan 20, 2012 5:23 am
by colourpixels
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

Re: In app purchase question

Posted: Fri Jan 20, 2012 5:40 pm
by bleddy
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

Re: In app purchase question

Posted: Fri Jan 20, 2012 10:38 pm
by joe_mobile
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

Re: In app purchase question

Posted: Fri Aug 22, 2014 10:55 pm
by Appy777
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?