fix: error send notification

Deskripsi:
- fix send web notification > empty array
- console.log xsendmany firebase notification
- upd version app

No Issues
This commit is contained in:
2025-08-28 16:36:00 +08:00
parent ca699f1430
commit 562470bcd3
3 changed files with 19 additions and 13 deletions

View File

@@ -43,8 +43,10 @@ export async function sendFCMNotificationMany({ token, title, body, data }: { to
},
},
};
console.log("masuk", token.length, token)
if (token.length > 0) {
console.log("Token", token.length)
// Kirim pesan
const response = await getMessaging().sendEachForMulticast(message as any);
if (response.failureCount > 0) {