Is the downloads API different on Firefox Android?

Talk about add-ons and extension development.
Post Reply
ygm_1
Posts: 1
Joined: May 1st, 2017, 7:39 pm

Is the downloads API different on Firefox Android?

Post by ygm_1 »

I'm trying to make a little extension for the Android version of Firefox, and I wanted to cause a download to occur.
To do this I use:

Code: Select all

browser.downloads.download(url)
But in the Firefox Android console I get the error:

Code: Select all

browser is undefined
Is this the wrong way to cause a download in FireFox Android? What should I be doing?

thanks.
Post Reply