-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Flutter Downloader 2.0 #550
Conversation
It is the very beginning to think about a new strategy to manage download file location. Storage Access APIs is very different among Android and iOS, even in different versions of Android. I am thinking of breaking down Welcome discussion about this topic |
#277 is very important to keep in mind. |
#332 Please consider porting each platform language of the plugin from Java to Kotlin and from obj-c to swift. |
It'd also be awesome to see #283, although it looks like it hasn't been worked on in a while |
It would be useful to be able to pass platform-specific URLs since that's what iOS/Android seem to want, and it looks like file_picker can return the native URL for files (and I may make a PR to add returning URLs for directories). |
Hello .. |
@drahmedgabr You can use use Dio and Path Provider as alternative, with Dio package you can download files from url fairly simply with one line of code, but you have to implement the loader indicator your self |
@ABDERRAHMANE-OUALI Thanks bro .. you helped me so much .. جزاكم الله كل خير |
@drahmedgabr np |
Hello, @hnvn hope you're doing great! Is there any news about the |
@Faaatman , I am quite busy now, not sure about time that I can work on this PR. |
Closing because not much work has been done here, but lots of good ideas. I referenced this PR in #639 so these ideas are not lost :) |
The changes of external storage APIs in Android 11 cause some problems with the current implementation. App can no longer create dedicated or app-specific directories with external storage so that
savedDir
is broken and becomes confused.This PR will focus on following tasks:
enqueue()
API with new strategy to manage download location.metadata
field in built-in SQLite database that helps developers store additional data for download tasks. (see Add another column to your DB table #195)