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

if the user connection goes down then he closes the tap his progress will be lost #1

Open
kemo-1 opened this issue Dec 5, 2024 · 1 comment

Comments

@kemo-1
Copy link

kemo-1 commented Dec 5, 2024

(this should be in a discussion but it isn't enabled for this project)

currently if you make a change to a cloud room while you are offline then close the page when you go back online and visit the page your changes will be lost

when using workbox you can save all failed requests and send them back when the user connects to the internet even if the user closed the page its called background sync api

for example the user connection gets cut off and they close the page thinking they are still online later the user connects to the internet so the background sync api catchs it and sends their work to the cloud if they are authenticated

this can be possible to do here right?

https://developer.chrome.com/docs/workbox/modules/workbox-background-sync

@kemo-1 kemo-1 changed the title if the user connection goes down then if the user connection goes down then he closes the tap his progress will be lost Dec 5, 2024
@kemo-1
Copy link
Author

kemo-1 commented Dec 5, 2024

I checked the rest of the readme and i think is a known issue that will get solved in the future versions of tinybase

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

1 participant