src/notifications.js
// Otherwise, ask for access and return whether or not it is granted.
Otherwise, ask for access and return whether or not it is granted.
Otherwise ask for access and return whether or not it is granted .
async function accessPushNotifications() {
  return (
    isGranted(await Permissions.getAsync(Permissions.NOTIFICATIONS)) ||
    isGranted(await Permissions.askAsync(Permissions.NOTIFICATIONS))
  )
}
async function accessPushNotifications ( ) { return ( isGranted ( await Permissions . getAsync ( Permissions . NOTIFICATIONS ) ) || isGranted ( await Permissions . askAsync ( Permissions . NOTIFICATIONS ) ) ) }
Otherwise, ask for access and return whether or not it is granted.
Otherwise ask for access and return whether or not it is granted .