When DeviceToken is expired

Asked on 05/12/2025

1 search

When a device token is expired, it will throw a "history token expired" error. In such cases, you should discard the expired token as it is no longer valid and fetch a new one. This is discussed in the session Track model changes with SwiftData history.