flutter_uploader
flutter_uploader copied to clipboard
Is this project dead?
Looks like this project is abandoned & hasn't been updated in a while. If that please let us know, so we can find other alternatives as I am using this package for production.
If the maintainer isn't active, I can contribute to keep this project alive. Thank you
@onikiri2007 @ened
I guess so. It's not upgraded to flutter null-safety and most of the PRs are not merged.
Moreover, it has some dependencies which are to be deprecated. Error when I added to my project.
"The plugin flutter_uploader uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
exit code 0"
Thank you for bringing that up - updates are needed indeed. I will try to make time soon to get through the PRs as well.
@ened thanks
Hi, if you're looking for a current and maintained package, take a look at background_downloader (which includes an uploader). Not trying to steal people away, just offering an alternative for those concerned about currency.
Hi, if you're looking for a current and maintained package, take a look at background_downloader (which includes an uploader). Not trying to steal people away, just offering an alternative for those concerned about currency.
Thanks. this fluttercommunity plugin is abandoned 2 years ago and should not been used.
Hi, if you're looking for a current and maintained package, take a look at background_downloader (which includes an uploader). Not trying to steal people away, just offering an alternative for those concerned about currency.
@781flyingdutchman Does it support Multipart upload?
Yes, it fully supports multipart uploads, see https://pub.dev/packages/background_downloader#uploads
On Tue, Sep 3, 2024, 8:17 AM jay-athelas @.***> wrote:
Hi, if you're looking for a current and maintained package, take a look at background_downloader https://pub.dev/packages/background_downloader (which includes an uploader). Not trying to steal people away, just offering an alternative for those concerned about currency.
@781flyingdutchman https://github.com/781flyingdutchman Does it support Multipart upload?
— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/flutter_uploader/issues/249#issuecomment-2326791905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5VCH5LBDUAIBAT5S5774TZUXHHHAVCNFSM6AAAAABNSL2X6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWG44TCOJQGU . You are receiving this because you were mentioned.Message ID: @.***>
Yes, it fully supports multipart uploads, see https://pub.dev/packages/background_downloader#uploads … On Tue, Sep 3, 2024, 8:17 AM jay-athelas @.> wrote: Hi, if you're looking for a current and maintained package, take a look at background_downloader https://pub.dev/packages/background_downloader (which includes an uploader). Not trying to steal people away, just offering an alternative for those concerned about currency. @781flyingdutchman https://github.com/781flyingdutchman Does it support Multipart upload? — Reply to this email directly, view it on GitHub <#249 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5VCH5LBDUAIBAT5S5774TZUXHHHAVCNFSM6AAAAABNSL2X6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWG44TCOJQGU . You are receiving this because you were mentioned.Message ID: @.>
Thank you ! will take a look ! appreciate your quick response
@781flyingdutchman Just tested the package uploading a multipart file and it works, it uploads just fine, however I don't see any output I am setting to receive updates here updates: Updates.statusAndProgress, and subscribing to listen the results
_subscription ??= uploader.updates.listen((result) {
print('uploader: Upload result: $result');
}, onError: (error) {
print('uploader: Upload error: $error');
});
```
but these logs never get called, is this only for download ?
Yes, you get updates for uploads as well as downloads.
A few comments:
- The updates stream is updated only when you use
enqueueto enqueue your task (not when usinguploadas you can pass an anonymous callback to that function) - The updates you get are updates, not results (you have to check the type to know what kind of update you got if you ask for both status and progress updates) - though that's not the issue here
Not knowing the rest of your code it's hard to comment further. If you continue to have issues please file one on the background_downloader issue page.
On Tue, Sep 3, 2024, 10:40 PM jay-athelas @.***> wrote:
@781flyingdutchman https://github.com/781flyingdutchman Just tested the package uploading a multipart file and it works, it uploads just fine, however I don't see any output I am setting to receive updates here updates: Updates.statusAndProgress, and subscribing to listen the results
_subscription ??= uploader.updates.listen((result) { print('uploader: Upload result: $result'); }, onError: (error) { print('uploader: Upload error: $error'); }); ```
but these logs never get called, is this only for download ?— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/flutter_uploader/issues/249#issuecomment-2327964795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5VCH4BMHMDZFMTDTHQG4LZU2MNDAVCNFSM6AAAAABNSL2X6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXHE3DINZZGU . You are receiving this because you were mentioned.Message ID: @.***>