getsentry / getsentry/sentry-java

Add method to get the installation ID

オープン
#2,932 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
Android Improvement
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 23時間
マージ済み PR(30日)
67

説明

### Problem Statement

In our App we have a button which allows the user to report issues.
For that, we would love to add some optional information like the installation ID from Sentry, so we can use that to analyse the user issues.
Right now I have no way to consistently get the information.

I tried setting a User manually, without any ID, which should lead to using the installation ID, which I should then be able to read out from the current scope, but that is not working reliably.

### Solution Brainstorm

So what I would love to have:

Sentry.getInstallationId() which would return the installation DI or Sentry.getUser(), which would return a default User, with the installation ID as user id.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。