firebase / firebase/firebase-android-sdk

[Feature Request] FCM build notification when app is in foreground

オープン
#1,663 コメント 2 件 リアクション 8 件 担当者 0 名 GitHub で見る
api: messaging type: feature request
主要言語
Java
スター
2.6k
フォーク
710
平均マージ
2日 9時間
マージ済み PR(30日)
31

説明

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

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

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

評価

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

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

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