Skip to content

Commit

Permalink
Conflicts resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
sarithapillai8 committed Jan 4, 2024
2 parents 957ce50 + 0f1c540 commit 3462b86
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions src/queue/SchedulerQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,22 @@ export function sendNotification(device_token: string, device_type: string, payl
device_token: device_token,
payload: {
aps: {
alert: `${payload.message}.`,
alert: {
"loc-key": "You have a mindLAMP activity waiting for you: %@.",
"loc-args": [
`${payload.title}.`
]
},
badge: 0,
sound: "default",
"mutable-content": 1,
"content-available": 1,
"push-type": "alert",
"collapse-id": `${notificationId}`,
expiration: 10,
expiration: 10
},
notificationId: `${notificationId}`,
title: `${payload.title}.`,
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
Expand Down Expand Up @@ -188,17 +194,23 @@ export function sendNotification(device_token: string, device_type: string, payl
device_token: device_token,
payload: {
aps: {
alert: `${payload.message}.`,
alert: {
"loc-key": "You have a mindLAMP activity waiting for you: %@.",
"loc-args": [
`${payload.title}.`
]
},
badge: 0,
sound: "default",
"mutable-content": 1,
"content-available": 1,
"push-type": "background",
"collapse-id": `${notificationId}`,
expiration: 10,
expiration: 10
},
notificationId: `${notificationId}`,
expiry: 21600000,
title: `${payload.title}.`,
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
"loc-key": "You have a mindLAMP activity waiting for you: %@.",
Expand Down

0 comments on commit 3462b86

Please sign in to comment.