angularfire2-offline
angularfire2-offline copied to clipboard
Sync on reconnect
HI. I have been using this plugin from the beginning. Congratulations on your hard work on this subject. I am wondering if it is possible to control synchronization with the server by some condition, such as time / hour, for example, and not just by the online status condition. This is necessary in my case because the user has a lot of updates on the heap, and the application has become inoperative when the synchronization begins and until the full synchronization is completed the user can't do nothing that envolves querys. I want to do this job only at a certain time to avoid the freezing screen, as I said. Is it possible?
Thanks for bringing this up! A public synchronization method would work, but I'm curious if using web workers would also solve the issue. When I have some time I would like to look into this, and I'm happy to get input/PRs from others. Thanks!
Just wanted to chime in:
This sounds like it could be of use to us as well, as we operate in the hostel business, where a lot of orders get pushed around on bad networks. So we could easily experience needing to push a large amount of data at once.
Anyway Adrian, thanks for your work on this!