Skip to main content
Version: Next

Type Alias: PermissionStatus

PermissionStatus = "granted" | "denied" | "prompt"

Defined in: packages/mobile-client/src/hooks/usePermissions.ts:11

The current status of a device permission.

  • 'granted' – the user has granted the permission.
  • 'denied' – the user has denied the permission.
  • 'prompt' – the user has not yet been asked (or the permission can be requested again).