a plugin for expo
based on react-native-permission
(ios only);
yarn add expo-permission-config
the demo
// app.json
{
// ... any config
plugins: [
[
'expo-permission-config',
{
permissions: [
// the name of the permission you need to add
// for example
'Camera'
]
}
]
]
// ... any config
}