Setup syncAllAccount after login
Description
Right after login, the sync authorities require some time to be set up (network blocker mainly). So sync can't be performed right away. So users have to wait until the next periodic sync (15-20 mins delay after login), so the syncs are performed & their contacts, calendars, tasks, etc accounts get set up. To minimize this wait time, we want to retry over & over again for a specific time limit. As a result, the user might have to wait for max 2 mins & on average 2-10 secs to get his/her all account set up.
Screenshots
Technical details
Need to use OneTimeWorker instead of PeriodicWorker because PeridicWorker requires >= 15 min delay between two jobs.
Tests
- Setup murena account in /e/OS Account Manager
- wait for 2-10 secs
- Open /e/OS Calendar, and check the accounts are set up in the app