Currently FirefoxOS doesn't allow reinstall from the same origin:
https://bugzilla.mozilla.org/show_bug.cgi?id=821288

It means that on a production device it is not possible to reinstall an
already installed app and:
 - hosted apps updates their content like any webapp (e.g. close and reopen
the app or
   window.location.reload, and optionally using applicationCache
methods/events)
 - packaged apps update procedure is managed from the
Application.checkForUpdate
   method (https://developer.mozilla.org/en-US/docs/DOM/app)

During your development iterations you can add the app in the FirefoxOS
Simulator
dashboard and force app updates using the "Update button",
as you can see in this screencast:
http://www.youtube.com/watch?v=Py8FCadnOH8
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to