diff options
Diffstat (limited to 'app.json')
-rw-r--r-- | app.json | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -13,7 +13,12 @@ "backgroundColor": "#ffffff" }, "ios": { - "supportsTablet": true + "supportsTablet": true, + "infoPlist": { + "NSLocationWhenInUseUsageDescription": "This app needs access to your location.", + "NSLocationAlwaysUsageDescription": "This app needs access to your location even when in the background.", + "UIBackgroundModes": ["location"] + } }, "android": { "adaptiveIcon": { @@ -21,7 +26,12 @@ "backgroundColor": "#ffffff" }, "googleServicesFile": "./google-services.json", - "package": "com.unibo.cas4" + "package": "com.unibo.cas4", + "permissions": [ + "ACCESS_FINE_LOCATION", + "ACCESS_COARSE_LOCATION", + "ACCESS_BACKGROUND_LOCATION" + ] }, "web": { "bundler": "metro", |