Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS auto updates

It takes 10 days to submit update and wait it to be reviewed. One of my farm games I that I installed on iPad shows "downloading updates" when I run it.

  • Is it good idea to implement updates in iOS app like that?
  • Is it permitted by Apple?
  • Do you know apps doing that except farm apps?

I am thinking about PhoneGap. I could download new version of phonegap extract it and run.

So I will add features directly dially or even push different functionality to different clients. It is also a way to overcome encryption restrictions.

Right now it is not clear if HTML code that has https link, recourses has to be certified for export from US.

App may download HTML/JS code from EU server to overcome US export restrictions.

like image 888
Max Avatar asked Sep 17 '12 13:09

Max


2 Answers

Is it good idea to implement updates in iOS app like that?

It would be certainly a good idea, but it is forbidden. However, you can download some content which is not actually an executable.

Is it permitted by Apple?

It is not. You cannot download any form of code or binary and run it on devices. I would give you some reference but it would violate NDA between Apple and Developers. Please check your agreement with Apple.

Do you know apps doing that except farm apps?

They download content, but not sure about the binaries which add functionality.

In the scenario of using Phonegap, you can download HTML/JS files which are not meant to be executables. But due the nature of Phonegap, you can use those files to execute code. Therefore, IMHO, I suspect that you will not pass the App review.

Additionally you will need to download those files into your www folder. Even, writing outside of documents folder in run time is not allowed, as far as I know. I have my app rejected just because of this.

like image 165
noway Avatar answered Nov 01 '22 18:11

noway


Well, as I see you could do it through the In-App Purchase API, couldn't you?

I took it from iOS Developer Program License Agreement

1.1 You may use the In-App Purchase API only to enable end-users to access or receive content, functionality, or services that You make available for use within Your Application (e.g., digital books, additional game levels, access to a turn-by-turn map service). You may not use the In-App Purchase API to offer goods or services to be used outside of Your Application.

like image 43
luckasfrigo Avatar answered Nov 01 '22 18:11

luckasfrigo