navigator.mozApps.installPackage no longer works

navigator.mozApps.installPackage will no longer work use navigator.mozApps.install

Pretty much as the title says really!

If you are building a webapp for Firefox OS it used to be that to install the manifest file you would call navigator.mozApps.installPackage('path/to/manifest') but this has been changed to just be navigator.mozApps.install('path/to/manifest').

This tripped me up recently as I was following an old guide and I couldn't work out why something that I was positive worked before no longer worked!

I think this syntax is a lot cleaner.

Recent posts View all

Mac

Cocoon Development Training

We'd highly recommend Cocoon for Apple development and Apple training

Productivity

Adding issues from other organisations into Github Projects

Let's talk about how you can add issues from other organisations into your Github Project