Fenix: External Download manager support

Created on 11 Jan 2020  Â·  21Comments  Â·  Source: mozilla-mobile/fenix

Add support for idm+ and adm download manager. In fennec if I saved files it would recognize the external download manager. In Fenix it currently does not work.

What/Requirements

Idm+ app
Advanced download manager app

E5 Download engverified ready

Most helpful comment

@Amejia481 I would advise adding a new menu item under Settings → Advanced.

  • This item should be a toggle
  • This item should be positioned below “Open links in apps”
  • String: “Use external download manager”

    • @betsymi, while I worry about the word “external” being too jargony, we also know that the usage of download managers is very likely limited only to advanced users.


Looking towards the future when we have more download-related settings (e.g.: select default download folder), we can make a new menu item called “Downloads”. When tapped, it can lead to a sub-page that contains “Use external download manager” as one of the items inside it.

All 21 comments

On a related note, I dont see a downloads manager in ff preview nightly? It it hidden? Not implemented yet?

Any update on this? It was one of Fennec's best features.

@vesta0 what is the priority on this ticket?

It hasn't been prioritized.

It hasn't been prioritized.

Thanks :)

@vesta0 I request you to please prioritise this feature soon and implement it, this is really important for me as the large downloads most of the time have time limit to them and after that the links to them expire and I have to download the whole file again. Third-party download managers make it easy to refresh the download links and I can start the download where it stopped and save a lot of mobile data.

None of the browsers I have come across have the link refreshing feature. So this feature would be really really useful.

Edit: I have opened a new issue #10950 for requesting a built-in way to refresh expired download links. If possible please consider it.

Since the original comment lists two proprietary download managers, I just want to mention that there are proper _free and open source_ download managers available on F-Droid.

Aria2App (open source) (Aria2App allows you to handle your downloads on aria2 wherever you are!) - https://f-droid.org/app/com.gianlu.aria2app

Download Navi (Download Navi is a free and Open Source download manager for Android 4.4+) - https://f-droid.org/app/com.tachibana.downloader

If at all Fenix advertises support for download managers, they should be FOSS ones.

Does anyone know when this feature is coming to Fenix? This is really important for me and it's the only reason I'm not yet completely moving from other browsers.

Please bring this feature soon to Fenix.

Thanks!

Does anyone know when this feature is coming to Fenix? This is really important for me and it's the only reason I'm not yet completely moving from other browsers.

Please bring this feature soon to Fenix.

Thanks!

And Also, the https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-634508932 is mine; it's from my previous account.

We are adding support for this on https://github.com/mozilla-mobile/android-components/pull/7923 but we need UX feedback as we need to expose a setting for activating it. Should we just add another setting under the "Advance" section?

image

@Amejia481 There was this behaviour I noticed a few weeks ago (I have since been upgraded to the new Firefox) on the old Firefox browser that when downloading the file it used to bring a dialogue which contained the Firefox browser and other apps that I can download from like ADM but the browser used to begin the download as immediately as I pressed the link even when I have not select any apps yet -- I noticed it because my internet usage spiked as soon as I pressed the download link with internet speed measuring apps like Internet Speed Meter, is the new browser also behaving the same as the previous old browser? The old browser was wasting data.

And also I think it'd worth refering the Kiwi browser's implementation (https://github.com/kiwibrowser/src) on how they're handling it since it is also open-source and handles the external download manager very efficiently and I think flawlessly too. When adding support for external download managers they said they are in contact with third-party download manager developers on how this would need to be implemented (IIRC, they (Kiwi Dev(s)) said they'd need to pass some cookies to the ADM download manager to make the download work correctly in ADM when the link gets passed on to it).

And also I'd say to keep the dialogue for 'Download with third party apps' after the 'Open links in apps' so it becomes such that users options (Add-ons, Open in apps etc.) are first and developer options (like Remote debugging, etc.) are at last.

You might also consider moving developer specific options (Leak canary, Remote debugging via USB, etc.) to a separate section. As general users, I think, might not use them and mistakenly even enable them accidentally.

@Amejia481 There was this behaviour I noticed a few weeks ago (I have since been upgraded to the new Firefox) on the old Firefox browser that when downloading the file it used to bring a dialogue which contained the Firefox browser and other apps that I can download from like ADM but the browser used to begin the download as immediately as I pressed the link even when I have not select any apps yet -- I noticed it because my internet usage spiked as soon as I pressed the download link with internet speed measuring apps like Internet Speed Meter, is the new browser also behaving the same as the previous old browser? The old browser was wasting data.

The initial feature is going to work as is shown in this video, if you selected in settings that you want to download files with third party apps, every time that you download a file a dialog is going to show allowing you to select with which app you want to download. In a follow up, we are going to introduce the functionality for selecting a preferred app for download a type of file you can find more info here https://github.com/mozilla-mobile/android-components/issues/7943 and a setting where you can change your previous selection.

And also I think it'd worth refering the Kiwi browser's implementation (https://github.com/kiwibrowser/src) on how they're handling it since it is also open-source and handles the external download manager very efficiently and I think flawlessly too. When adding support for external download managers they said they are in contact with third-party download manager developers on how this would need to be implemented (IIRC, they (Kiwi Dev(s)) said they'd need to pass some cookies to the ADM download manager to make the download work correctly in ADM when the link gets passed on to it).

Thank you for the reference :)

And also I'd say to keep the dialogue for 'Download with third party apps' after the 'Open links in apps' so it becomes such that users options (Add-ons, Open in apps etc.) are first and developer options (like Remote debugging, etc.) are at last.

You might also consider moving developer specific options (Leak canary, Remote debugging via USB, etc.) to a separate section. As general users, I think, might not use them and mistakenly even enable them accidentally.

Great feedback, the UX team will help us with the decision :).

Assigning to @brampitoyo - If this requires more effort than UX feedback, please update the flag to needs:UX-investigation and remove needs:UX-feedback. Thanks!

@Amejia481 I would advise adding a new menu item under Settings → Advanced.

  • This item should be a toggle
  • This item should be positioned below “Open links in apps”
  • String: “Use external download manager”

    • @betsymi, while I worry about the word “external” being too jargony, we also know that the usage of download managers is very likely limited only to advanced users.


Looking towards the future when we have more download-related settings (e.g.: select default download folder), we can make a new menu item called “Downloads”. When tapped, it can lead to a sub-page that contains “Use external download manager” as one of the items inside it.

Verified as fixed on Nightly 8/12. Tested using ADM and IDM to download different file types and the popup was displayed in order to choose between the Nightly and the external download manager.
Devices:

  • Samsung Galaxy Note 10 (Android 10)
  • Google Pixel 3 (Android 11)
  • Huawei MediaPad M2 (Android 5.1.1)

@Amejia481 Any chance that this would come to the stable version of the the browser anytime soon? Honestly speaking, this would be the only feature that would make my browsing experience almost complete apart from the uBlock Origin support that is already implemented.

Sorry for the interruption and thank you very very much for adding this feature.

Edit: Also in the Nightly I tested it doesn't look like the mocks posted here: https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-668949688

Well, yeah? Now that the stable version of Fenix is rolled out, the normal feature train is probably back on track. Nightly -> Beta -> Release, except for things like about:config which are explicitly blocked for now.

@Amejia481, @sflorean

I want to point out this:

From the above https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-674085844:

Also in the Nightly I tested, it doesn't look like the mocks posted here: https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-668949688

@Amejia481, @sflorean

I want to point out this:

From the above #7620 (comment):

Also in the Nightly I tested, it doesn't look like the mocks posted here: #7620 (comment)

Could you please add a screenshot?

@sflorean It's a ghost account now.

Was this page helpful?
0 / 5 - 0 ratings