upd: notification
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user