getsentry / getsentry/sentry-java

Android: synchronize App context to native

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

Description

### Problem Statement

While working on [a similar feature for sentry-unity SDK](https://github.com/getsentry/sentry-unity/issues/650), I've noticed some context is synced to native crashes (namely Device) while the App context is missing. It would be useful to get the App information discovered by the java layer passed to native so that any crashes have the info.

## Current state:
* [java error](https://sentry.io/organizations/sentry-sdks/issues/3245458320/events/5b3d779ecc49457da5331f9719194494/?project=5439417#context-app)
image

* [native error](https://sentry.io/organizations/sentry-sdks/issues/3284535874/events/ff3f52e48eb14617de7a306cd6a829e2/?project=5439417) - no App context at the moment - checked on 6.0.0-alpha.4

### Solution Brainstorm

_No response_

┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2377) by [Unito](https://www.unito.io)

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.