getsentry / getsentry/sentry-java

Android: synchronize App context to native

Đang mở
#2,056 7 bình luận 2 reaction 0 người được giao Xem trên GitHub
Android Errors Improvement NDK
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.