Add 'Client Reports' to the React Native SDK
Sentry's protocol now offers a way to report counts and reason to why data gets dropped.
The JavaScript SDK already has support so the challenge here is to include events dropped in the React Native layers with the rest of the SDKs involved (JS and native).
Spec: https://develop.sentry.dev/sdk/client-reports/
This was implemented in other places that can be used as a reference:
- JavaScript: https://github.com/getsentry/sentry-javascript/pull/3955
- Python: https://github.com/getsentry/sentry-python/pull/1181
- Relay: https://github.com/getsentry/relay/pull/1074
This will also be implemented in the following SDKs so collaborating with folks adding support there is ideal
- .NET: https://github.com/getsentry/sentry-dotnet/issues/1455
- Dart: https://github.com/getsentry/sentry-dart/issues/735
- Java: https://github.com/getsentry/sentry-java/issues/1894
- Apple: https://github.com/getsentry/sentry-cocoa/issues/1655
Please close this once done: https://getsentry.atlassian.net/browse/MOBILE-210
This issue 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 Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀