fluttercommunity / flutter_uploader

background upload plugin for flutter
MIT License
211 stars 142 forks source link

Is this project dead? #249

Open swarupbc opened 1 year ago

swarupbc commented 1 year ago

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

swarupbc commented 1 year ago

@onikiri2007 @ened

devmike01 commented 1 year ago

I guess so. It's not upgraded to flutter null-safety and most of the PRs are not merged.

abhinovpankaj commented 1 year ago

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"

ened commented 1 year ago

Thank you for bringing that up - updates are needed indeed. I will try to make time soon to get through the PRs as well.

tony123S commented 1 year ago

@ened thanks

781flyingdutchman commented 1 year ago

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.

fullflash commented 1 year ago

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.

jay-athelas commented 2 months ago

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?

781flyingdutchman commented 2 months ago

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: @.***>

jay-athelas commented 2 months ago

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

jay-athelas commented 1 month ago

@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 ?
781flyingdutchman commented 1 month ago

Yes, you get updates for uploads as well as downloads.

A few comments:

  1. The updates stream is updated only when you use enqueue to enqueue your task (not when using upload as you can pass an anonymous callback to that function)
  2. 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:
***@***.***>