Conversation Notification Support for Firebase Messaging
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 or image 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.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
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.
@Shawn-sudo glad to hear you worked around your issue. I'll keep this issue open for the team to consider as a feature request.
Is there any update?