307-Fix_on_network_loss_sync_stuck_issue
Description
In the middle of the sync works, if the network is disconnected, the sync tasks are stuck & periodic sync will not work until the user reboot the device. On network loss, we clean the sync queue, so the next periodic sync will trigger (periodic sync has network constraint, so the network should be available) & restart the fresh sync work from where it got stucked.
Screenshots
Technical details
Tests
Issues
10 Commandments of code reviews
Edited by Fahim Salam Chowdhury