OTA plist app install from within phonegap app for iPad

Posted by Farhan Ahmad on Stack Overflow See other posts from Stack Overflow or by Farhan Ahmad
Published on 2012-11-01T15:26:33Z Indexed on 2012/11/11 5:01 UTC
Read the original article Hit count: 420

Filed under:
|
|
|

I am trying to initiate a OTA app install from within a phonegap iPad app.

I have tried this:

var url = "http://www.example.com/test.plist";
window.open("itms-services://?action=download-manifest&url=" + url, "_blank");

This works in iOS 5 but NOT iOS 6.

I have also tried using the ChildBrowser plugin to point to a page with a link to the OTA app install but that doesn't work either. (If I visit the webpage directly from within the native iPad browser, it works fine)

Does anyone know how I can initiate a OTA app install from within the phonegap iPad app? (must work in iOS 5 and iOS 6)

I am trying to implement an auto update feature within a Ad-Hock iPad app (not through App Store). So when the app detects that there is a new update, it will prompt the user to install the new update and thats where I need this functionality.

© Stack Overflow or respective owner

Related posts about iPad

Related posts about phonegap