You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if we could set some configuration options for this library. Two that come to mind are the ability to set the number of parallel downloads, and choosing whether to download with Cellular data or just WiFi.
(As always, I can open a PR when time allows, but I like to post these in case anyone else gets there before me)
Edit: It looks like the Android Cellular Data portion is already supported in the form of the isAllowedOverMetered option. I wasn't paying enough attention to the documentation. Still, I think we should abstract this to a shared setting/function that can be used both on iOS and Android.
The text was updated successfully, but these errors were encountered:
Following up on this, setMaxParallelDownloads appears to be specific to ExoPlayer/Media3's implementation of a Download Manager and isn't actually native functionality. That might make implementing on this library a little more difficult, but I do still believe it would be beneficial to have.
My app may queue several hundred (possibly even around 1,000) downloads at once, and it would be ideal to specify that I only want 2-3 to download at a time.
@kesha-antonov I know you're really busy right now - I'm wondering if you are able to send me the code you're using for parallel downloads? I'll see if I can work it into a PR for this library.
It would be great if we could set some configuration options for this library. Two that come to mind are the ability to set the number of parallel downloads, and choosing whether to download with Cellular data or just WiFi.
setAllowedOverMetered on Android(As always, I can open a PR when time allows, but I like to post these in case anyone else gets there before me)
Edit: It looks like the Android Cellular Data portion is already supported in the form of the
isAllowedOverMetered
option. I wasn't paying enough attention to the documentation. Still, I think we should abstract this to a shared setting/function that can be used both on iOS and Android.The text was updated successfully, but these errors were encountered: