just another day
This commit is contained in:
1 parent
0e46c630a6
commit
e84597883b
11 files changed
+882
-1401
No files matched your search
@@ -36,7 +36,6 @@ export const sendPushNotification = async(expoPushToken: string | null, notifica
|
||||
body: JSON.stringify(message),
|
||||
});
|
||||
const result = await response.json();
|
||||
console.log('Push notification sent:', result);
|
||||
} catch (error) {
|
||||
console.error('Error sending push notification:', error);
|
||||
Alert.alert('Error', 'Failed to send push notification.');
|
||||
|
||||
Reference in new issue
Block a user