getsentry / getsentry/sentry-java

Report app exit reasons

Open
#3,958 9 comments 1 reaction 1 assignee Claimed by @markushi View on GitHub
Android Errors Feature
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Problem Statement

`ApplicationExitInfo.getReasion()` provides a detailed breakdown why an app shut down. We should collect this information and report it:

* [`REASON_UNKNOWN`]()
* [`REASON_EXIT_SELF`]()
* [`REASON_SIGNALED`]()
* [`REASON_LOW_MEMORY`]()
* [`REASON_CRASH`]()
* [`REASON_CRASH_NATIVE`]()
* [`REASON_ANR`]()
* [`REASON_INITIALIZATION_FAILURE`]()
* [`REASON_PERMISSION_CHANGE`]()
* [`REASON_EXCESSIVE_RESOURCE_USAGE`]()
* [`REASON_USER_REQUESTED`]()
* [`REASON_USER_STOPPED`]()
* [`REASON_DEPENDENCY_DIED`]()
* [`REASON_OTHER`]()
* [`REASON_FREEZER`]()
* [`REASON_PACKAGE_STATE_CHANGE`]()
* [`REASON_PACKAGE_UPDATED`]()
* [`REASON_MEMORY_LIMITER`]()

### Solution Brainstorm

* Report as Metrics
* Report as Logs
* Enrich matching events (ANR events contain `REASON_ANR`)

┆Issue is synchronized with this [Jira Improvement]() by [Unito]()

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.