await messaging().sendMulticast({
tokens: [
"e6tsH1DPTX6nQQaoMeflEn:APA91bHRqP0tm35YT4Psq3NFyfdswpS5oGMyvKXpGnM71ywvOreUniV6rgnYat8WKGYTSt5j6gOD7uYFKqPV7xBu5Lf4ybt2PdfjPJhoTKzmNDYr-gKYD385caL4D6cOHmz9YOb0M6O3",
],
data: {
notifee: JSON.stringify({
body: "This message was sent via FCM!",
android: {
channelId: "default",
actions: [
{
title: "Mark as Read",
pressAction: {
id: "read",
},
},
],
},
}),
},
android: {
// Including notification will work but no data parsed from notifee
notification: {
priority: "high",
},
priority: "high",
},
});
Foreground and background works, but quit state on android doesn't. setting priority high on notiifcation will show in quit state but notifee no longer parses data, thus just showing an naked notification
Foreground and background works, but quit state on android doesn't. setting priority high on notiifcation will show in quit state but notifee no longer parses data, thus just showing an naked notification