PermissionName
What an app can ask for. location is "when in use"; locationAlways is
location in the background too, and asks for location first.
Usage
Check access and offer Settings
This type is used by permissions.check
import { app, permissions } from 'kuito';
const { status, canAskAgain } = await permissions.check('camera');
if (status === 'undetermined') await permissions.request('camera');
else if (status === 'denied' && !canAskAgain) await app.openSettings();Type declaration
export type PermissionName = Name;Type
"camera" | "microphone" | "photos" | "location" | "locationAlways" | "notifications"Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.