diff --git a/src/lib/helpers/push-notifications.ts b/src/lib/helpers/push-notifications.ts index d39a07a..bc1d0c6 100644 --- a/src/lib/helpers/push-notifications.ts +++ b/src/lib/helpers/push-notifications.ts @@ -27,7 +27,7 @@ export const getPushNotificationStatusAsync = async (): Promise< const { status } = await Notifications.requestPermissionsAsync(); finalStatus = status; } - if (finalStatus !== Notifications.PermissionStatus.DENIED) { + if (finalStatus !== Notifications.PermissionStatus.GRANTED) { return; } token = (