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

Productivity

Prolonging your laptop's battery

Some short and long term solutions to extending your laptop's battery life

Productivity

Working when travelling by plane/train

Some tips and tricks for maximising working whilst travelling