Expo config
app.json{
"expo": {
"ios": {
"infoPlist": {
"NSLocationAlwaysAndWhenInUseUsageDescription": "TODO: why this app needs location while it is not open."
}
},
"android": {
"permissions": [
"android.permission.ACCESS_BACKGROUND_LOCATION"
]
},
"plugins": [
"expo-router",
"expo-location"
]
}
}
Prebuild writes these into the native projects; the config plugin is what makes the package's native code part of the build.