Allow ReportInteraction when app is in background
- Linguagem predominante
- Kotlin
- Estrelas
- 6.5k
- Forks
- 1.1k
- Merge médio
- 32min
- PRs com merge (30d)
- 4
Descrição
Crashes can happen when the app is in the background, e.g. during work performed in a `Worker`. In this case, the dialog interaction won't work, because on recent Android versions, we are not allowed to start activities while in the background.
However, when the app crashes in the foreground, I would like to use the dialog interaction, but having a fallback to the notification interaction when the app is in the background. I tried to somehow achieve this with a custom `ReportInteraction`, but couldn't get the ServiceLoader to work within a reasonable amount of time (or adding lots of other dependencies).
Ideally such behavior would be integrated here upstream, because many projects would benefit from this.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.