getsentry / getsentry/sentry-java

Push Notifications instrumentation

未關閉
#2,728 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Android Feature Spans
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

### Description

We could use bytecode manipulation to instrument third party push notification solutions (probably start with FCM as the most popular one), to capture breadcrumbs automatically with all the metadata like title,body,message id,sender, etc. (see [Firebase remote message](https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/RemoteMessage) for reference).

This can certainly help in solving or prioritizing crashes or ANRs.

We could even go as far as sending this as app context and make it searchable, e.g. to filter crashes/ANRs that happened during application creation from a push notification (=cold start).

貢獻指南

開啟貢獻指南

研究方向

該 issue 將 FCM 和 Firebase RemoteMessage 列為起始參考。釐清 instrumentation 範圍和 metadata contract,然後驗證 push 事件會產生可用於搜尋 cold-start crashes 和 ANRs 的 breadcrumbs 與 app context。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, firebase, kotlin
領域
mobile, observability
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。