firebase_messaging not customizing notification when app is not in foreground

一曲冷凌霜 提交于 2019-12-23 21:19:42

问题


I need to group notifications from firebase about messages comes from users. Firebase push notification is grouping achieved by using **flutter_local_notification** plugin. This is done inside onMessage() callback set up during Firebase configuration. But when app is not in foreground this grouping and other customer styling can not be done. I had given "tag" field in notification section of Firebase push notification. This will show only one notification according to the tag.

But i need to add custom styling also when app not in foreground as like when the app is in foreground. How can i achieve this ?

来源:https://stackoverflow.com/questions/56076502/firebase-messaging-not-customizing-notification-when-app-is-not-in-foreground

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!