diff --git a/src/modules/fcm.js b/src/modules/fcm.js index 5582fd7b..1fc53946 100644 --- a/src/modules/fcm.js +++ b/src/modules/fcm.js @@ -242,6 +242,9 @@ const sendMessageByTopic = async (topic, type, title, body, icon, link) => { icon: icon || "/icons-512.png", click_action: "FLUTTER_NOTIFICATION_CLICK", }, + android: { + ttl: 0, + }, }; await getMessaging().send(message); logger.info(`Notification sent to token ${topic}`);