getsentry / getsentry/sentry-java

Add method to get the installation ID

Aberta
#2,932 2 comentários 4 reações 0 responsáveis Ver no GitHub
Android Improvement
Linguagem predominante
Kotlin
Estrelas
1.4k
Forks
478
Merge médio
2d 22h
PRs com merge (30d)
69

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece lendo o tratamento existente de User e current-scope no Sentry SDK e, em seguida, rastreie como o installation ID é criado e persistido. Defina se a API pública deve expor o ID diretamente ou por meio de um User padrão e verifique se o valor retornado é consistente durante o ciclo de vida relevante do SDK.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
android, kotlin
Domínio
api, mobile-dev
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.