getsentry / getsentry/sentry-java

Send cached and pending envelopes when an envelope is going to be sent

Open
#1,932 9 comments 0 reactions 0 assignees View on GitHub
Android Errors Improvement
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

Related to https://github.com/getsentry/sentry-java/issues/912#issuecomment-1057079937

iOS already does it.

The use case is, you capture envelope A and you have no connection, the envelope is cached and won't be sent until you restart your app.
If you didn't restart your app but you captured B another envelope, before sending envelope B, it's gonna read from the disk all cached and pending envelopes (read envelope A here) and send them in bulk.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.