Trying to get push notifications to work. Cant tell til its prod
This commit is contained in:
parent
dcc57a43bb
commit
2a5acf9325
@ -108,7 +108,7 @@ export const sendPushNotification = async (expoPushToken: string, message: strin
|
|||||||
const notificationMessage = {
|
const notificationMessage = {
|
||||||
to: expoPushToken,
|
to: expoPushToken,
|
||||||
sound: 'default',
|
sound: 'default',
|
||||||
title: 'New message!',
|
title: `New message!`,
|
||||||
body: message,
|
body: message,
|
||||||
data: { message }, // Extra data you might want to send
|
data: { message }, // Extra data you might want to send
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user