You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android 11 has recently introduced conversation notification, which allows us to display the user's profile photo on the notification.
To support Conversation Notifications on Android, I would have to use something like didReceive() on iOS to modify the notification. However, onMessageReceived() currently doesn't work for background notification message (or notification + data messages).
I solved this by overriding handleIntent(). Although this isn't the official way, it was the only reasonable way to modify notifications on receive regardless of the app lifecycle.
What feature would you like to see?
Android 11 has recently introduced conversation notification, which allows us to display the user's profile photo on the notification.
To support Conversation Notifications on Android, I would have to use something like
didReceive()
on iOS to modify the notification. However,onMessageReceived()
currently doesn't work for background notification message (or notification + data messages).I also couldn't find an option for Conversation Notification in the REST API or smth (server-side) list: https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages
I'm not talking about
imageUrl
orimage
option in the REST API (here):imageUrl
only seems to work for image attachments, but not for profile photos.How would you use it?
I would use it to display profile photo in a notification on Android devices.
The text was updated successfully, but these errors were encountered: