firebase / firebase/firebase-android-sdk
[Feature Request] FCM build notification when app is in foreground
- Linguagem predominante
- Java
- Estrelas
- 2.6k
- Forks
- 710
- Merge médio
- 3d 1h
- PRs com merge (30d)
- 34
Descrição
## What feature would you like to see?
With FCM when the app is in background the OS create a notification that has the image, icon and everything...
but to build a notification that looks the same when the app is in foreground you shouldn't be having to do it manually, I think we should have a method that receive the Notification object and provides the Notification Builder already filled with everything.
For instance I think the OS also download the image (if there is one) and build a bitmap to add to the notification and lot of other stuff.
## How would you use it?
Instead of having to manually support all the things that Firebase console allow with a notification on my foreground app I would like to just have the option to make it "work" the same way of the OS one produce when the app is in background (still intercepting, but having an easy way to produce the same result).
Guia de contribuição
Direção de pesquisa
Comece revisando o tratamento de notificações FCM do Firebase Android SDK para aplicativos em primeiro plano e em segundo plano. Determine onde os payloads de notificação são processados e como a builder API solicitada se encaixaria, depois defina a conclusão em torno da produção de notificações em primeiro plano com o mesmo conteúdo compatível das notificações em segundo plano.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- android, firebase, java
- Domínio
- mobile-dev
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 25/100