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

Cache uploads when no network is available and upload once connected #1

Open
eikek opened this issue Aug 3, 2020 · 2 comments
Open

Comments

@eikek
Copy link
Member

eikek commented Aug 3, 2020

This should be optional, so that users are not required to grant any permission.

@TheOneValen
Copy link
Contributor

You would probably have to allow file access. But I am not sure, as the app should cache it in its own scope.

I Would go about this for every send, every send should be like this for the sake of less complexity:

  • Cache file to send and add it to a queue
  • A queue Worker tries to upload it and and dequeues it on success
  • no Success -> no dequeue and retry with interval, increasing delay and stuff like that

@eikek
Copy link
Member Author

eikek commented Apr 1, 2021

Yes good idea, I also thought about it in a similar way. I thought about different queue impls to avoid requiring another permission. But I haven't really thought about it yet :-). To me this is not a high prio right now, because I don't currently need it.

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

2 participants