OTA plist app install from within phonegap app for iPad
- by Farhan Ahmad
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.