Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto-updated iOS application for enterprise distribution

Is it possible to make an iOS application for enterprise distribution that updates itself transparently? Saying 'updates' I mean completely updating its logic.

A possible usage of this approach is a self-service kiosk (iPad) that is maintained remotelly.

It's not possible to update application binaries directly, but I see some possibilities:

  1. Application that have a single UIWebView and the logic is implemented in HTML5. But we can't use most of hardware specific features that can be used in native applications.
  2. Some multi-platform framework (possibly HTML5-based) that allows to use native application features and that is compiled or interpreted dynamically.
  3. Jailbreak?

What are really working approaches of these?

like image 251
alexey Avatar asked Aug 20 '12 16:08

alexey


1 Answers

Consider getting a mobile device management service. Those are pricey.

OR:

First, enable over-the-air distribution. It will take $300/year enterprise agreement with Apple. Set up a website with the app's IPA archive and descriptive PLIST.

Then code a call-home HTTP request on app startup. You may pull/parse the same PLIST that describes the latest version; it has a bundle version in it. Compare that to the version of the currently running bundle.

When a new version is detected, the app shuts down, opens the browser on the download page. In a softer manner, just notifies the user that an upgrade is available.

I've never tried linking directly to the app's download package, but give it a try. In a perfect world, Safari would open up and ask "Do you want do download MyApp?" right away. In a not so perfect world, the user would have to click a link and then agree to download.

like image 87
Seva Alekseyev Avatar answered Oct 24 '22 13:10

Seva Alekseyev