Trying to get push notifications to work. Cant tell til its prod

This commit is contained in:
Gabriel Brown 2024-09-25 11:39:15 -05:00
parent dcc57a43bb
commit 2a5acf9325

View File

@ -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
}; };