-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Clarify offline caching behavior of Flutter SDK #6069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The iOS and Android offline caching functionality behaves slightly differently. This is currently clear in the respective iOS and Android docs: - [iOS](https://docs.sentry.io/platforms/apple/guides/ios/): "Offline caching when a device is unable to connect; we send a report once we receive another event" - [Android](https://docs.sentry.io/platforms/android/): "Offline caching when a device is offline; we send a report once the application is restarted" But, the docs are not clear about how offline caching works in the Flutter SDK, so I've suggested a clarification.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- Android: Offline caching when a device is offline; we send a report once the application is restarted | ||
- iOS: Offline caching when a device is unable to connect; we send a report once we receive another event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth that to RN, Capacitor, and on Android/iOS as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, I'll add those to this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added clarification for handling of mobile offline storage to React Native and Cordova ✔️
It looks like Capacitor has solid coverage for how it handles offline storage, so do iOS and Android
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Offline caching functionality for iOS and Android behave differently; reports are retried under slightly different conditions. This is already clear in the respective iOS and Android docs:
However, the Flutter docs are vague about how offline caching works in a way that has confused at least one customer. This change clarifies how offline caching works for Flutter.