Skip to content
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

Is there a way to get the list of pending upload tasks? #250

Open
deadshot2491 opened this issue Nov 16, 2022 · 2 comments
Open

Is there a way to get the list of pending upload tasks? #250

deadshot2491 opened this issue Nov 16, 2022 · 2 comments

Comments

@deadshot2491
Copy link

deadshot2491 commented Nov 16, 2022

Thanks for the plugin first of all!

I have one need which seems to be a simple one. I was thinking there will be a function to get the pending tasks currently, but it doesnt seem to exist and we just have to wait for the notification once we trigger an upload. Can we have a function or property exposed in js part to get the list of pending tasks (+failed ones also will be great!)?

I can make contribution on iOS side but I havnt gone through the implementation of native iOS code yet to see how feasible it is.. please suggest or advise here..

@zfir
Copy link
Member

zfir commented Nov 16, 2022

Hello @deadshot2491,

There is no function that is available now to get the list of pending uploads. To be able to do that I think we should save all the uploads in sqlite and also save the state of each upload.

Thanks for the suggestion, we will try to look into if we have time. But if you want to help, a PR will be most welcome.

@ombr
Copy link
Collaborator

ombr commented Nov 16, 2022

I think you will have to store the list of upload in your side. We are trying to keep the plugin as simple as possible and thus you should manage the uploads on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants