Client code to send notif - only updating types to allow this.
Depends on D12771
Differential D12772
[lib] implement sending FCM notifs using Tunnelbroker Authored by kamil on Jul 16 2024, 8:54 AM.
Details Client code to send notif - only updating types to allow this. Depends on D12771 Testing different variants of: const notf: TunnelbrokerFCMNotif = {
type: 'FCMNotif',
clientMessageID: uuid.v4(),
deviceID: '3434',
data: JSON.stringify({
id: '1234',
body: 'test notif from TB',
title: 'HELLO FROM TB',
prefix: 'pref',
threadID: 'thread',
badge: '12',
}),
priority: 'HIGH',
};
await sendNotif(notf);
Diff Detail
|