From 8c3b6b6492cab3223ded6459338367891f93a00a Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sun, 27 Oct 2024 12:49:28 -0400 Subject: [PATCH] Update GroundControlToMajorTom.ts --- src/class/GroundControlToMajorTom.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/class/GroundControlToMajorTom.ts b/src/class/GroundControlToMajorTom.ts index d451229..d7c8c81 100644 --- a/src/class/GroundControlToMajorTom.ts +++ b/src/class/GroundControlToMajorTom.ts @@ -86,6 +86,7 @@ export class GroundControlToMajorTom { sound: "default", }, data: {}, + category: "TRANSACTION_CATEGORY", }; if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification); @@ -114,6 +115,7 @@ export class GroundControlToMajorTom { sound: "default", }, data: {}, + category: "TRANSACTION_CATEGORY", }; if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification); @@ -154,6 +156,7 @@ export class GroundControlToMajorTom { badge: pushNotification.badge, tag: pushNotification.txid, }, + category: "TRANSACTION_CATEGORY", }; const apnsPayload = { @@ -166,6 +169,7 @@ export class GroundControlToMajorTom { sound: "default", }, data: {}, + category: "TRANSACTION_CATEGORY", }; if (pushNotification.os === "android") return GroundControlToMajorTom._pushToFcm(dataSource, serverKey, pushNotification.token, fcmPayload, pushNotification);