Permissions

A permission is an authorization the user grants the app to access a sensitive feature (location, camera, notifications). It is declared in the configuration, then requested at runtime, when it is useful. The app must plan for refusal and work without it.

Example

const { status } = await Location.requestForegroundPermissionsAsync();

Related concepts

The whole glossary