We are trying to develop a hybrid application that can update itself using css / javascript / html from the Internet, instead of storing them in a phonegap project.
So here is the
Html5 cache manifest in UIWebView?
HTML5 AppCache in UIWebView
Now it works great on iOS 5 and 5.1
In fact, inside phonegap index.html we do or location.href redirect to the website. The manifest is disabled on the website, which allows the phonegap application to start and work a second time offline (after all resources have been cached for the first time). And changes in the manifest correctly update the application. I tried to close the application on the phone and restart it while the website is down - it still works.
There are solutions that allow self-updating - for example, Worklight based on a phone saver. So silent self-updating no longer seems to be a problem.
So the question is, will anyone introduce a similar application in the appstore? There is no code at all in the application; everything that it does goes to the website.
source
share