Issue
Is it possible for the Flutter SDK to cache errors when the mobile device is offline and upload them to Sentry once the device is back online?
Applies To
- Flutter SDK Users
Resolution
Yes, the Flutter SDK offers offline caching out of the box. When a mobile device is offline, events are cached locally and automatically sent once the device is back online. This is handled using the native Android and iOS SDKs under the hood.
You can control how many events are cached using the option maxCacheItems.