UpdateApiVersionsScheduler

Responsible for schedulePeriodicApiVersionUpdate and scheduleImmediateApiVersionUpdate.

Clients should retrieve the list of supported version from the backend:

  • All clients: When the application starts (doesn’t matter if the user is logged in or not)

  • Web: at least once every 24 hours

  • Mobile: at least once every 24 hours OR whenever the app comes to the foreground

Inheritors

Functions

Link copied to clipboard

Schedules an immediate execution of UpdateApiVersionsWorker, which checks and tries to determine the API version to use.

Link copied to clipboard

Schedules a periodic execution of UpdateApiVersionsWorker, which checks and tries to determine the API version to use.