getsentry / getsentry/sentry-java

Android: synchronize App context to native

未关闭
#2,056 7 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Android Errors Improvement NDK
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。