getsentry / getsentry/sentry-java

Add method to get the installation ID

Đang mở
#2,932 2 bình luận 4 reaction 0 người được giao Xem trên GitHub
Android Improvement
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

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.

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.