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

Conferences

Tips for how to ask for time off to attend conferences

Asking for time off to attend a conference can be nerve-racking, these tips will get you closer to attending the conferences you're interested in.

Ruby

Using the 'it' Gem to add links to translations

How to can use the 'it' Gem to add links to your translations