services/push_token_refresh_service library

Classes

PushTokenRefresher
Keeps the backend's push-token record in sync with FCM's silently-rotating token. The host calls registerPushToken once on initial registration; this service then takes over and re-uploads the current token whenever it has changed (rotation) or whenever the last successful upload is older than _refreshInterval (drift insurance).