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 = {
|
||||
to: expoPushToken,
|
||||
sound: 'default',
|
||||
title: 'New message!',
|
||||
title: `New message!`,
|
||||
body: message,
|
||||
data: { message }, // Extra data you might want to send
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user