From 558d10b39ceb6380272047da742c6d6b62830008 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 9 Sep 2024 16:35:28 +0200 Subject: Add location update --- app.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'app.json') diff --git a/app.json b/app.json index 96e872e..7e6df92 100644 --- a/app.json +++ b/app.json @@ -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", -- cgit v1.2.3-18-g5258