Skip to content

Commit

Permalink
Merge pull request #513 from sparcs-kaist/dev
Browse files Browse the repository at this point in the history
Main branch update from Dev branch
  • Loading branch information
kmc7468 authored May 7, 2024
2 parents 5effc5b + 489803e commit 80e3e45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/fcm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 80e3e45

Please sign in to comment.