UserConfigSyncScheduler

Responsible for schedulePeriodicUserConfigSync.

This refresh should be done:

  • For desktop/web: On launch, when the app gains focus, and every 24 hours that the app has been running

  • For mobile: When the app comes to the foreground (iOS, Android), and on Android every 24 hours that the app has been in the foreground.

Inheritors

Functions

Link copied to clipboard

Resets the backoff for the enqueued UserConfigSyncWorker if it's already waiting to be retried, so that it can be done instantly.

Link copied to clipboard

Schedules a periodic execution of UserConfigSyncWorker that is responsible for syncing/refreshing user configurations: