upd: notification

This commit is contained in:
amel
2025-06-26 10:16:33 +08:00
parent ffe53e46b1
commit ed08953a14
3 changed files with 52 additions and 18 deletions

View File

@@ -32,7 +32,6 @@ export async function registerForPushNotificationsAsync() {
try {
const pushTokenString = (await Notifications.getExpoPushTokenAsync({ projectId })).data
console.log(pushTokenString)
return pushTokenString
} catch (error) {
throw new Error(`Error getting push token: ${error}`)