getsentry / getsentry/sentry-java

Android: synchronize App context to native

Aperta
#2,056 7 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Android Errors Improvement NDK
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

Descrizione

### 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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.