mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add shuttleId as custom key in notification alert argument
This commit is contained in:
@@ -10,6 +10,7 @@ interface APNsUrl {
|
||||
export interface NotificationAlertArguments {
|
||||
title: string;
|
||||
body: string;
|
||||
customKeys?: any,
|
||||
}
|
||||
|
||||
export class AppleNotificationSender {
|
||||
@@ -110,7 +111,8 @@ export class AppleNotificationSender {
|
||||
aps: {
|
||||
alert: notificationAlertArguments,
|
||||
sound: "default"
|
||||
}
|
||||
},
|
||||
...notificationAlertArguments.customKeys,
|
||||
}));
|
||||
req.end();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user