From f6d13374bd95acb3c476e91789cd7722a9b2b206 Mon Sep 17 00:00:00 2001 From: Murillo Bernardes Date: Sun, 3 Dec 2017 03:43:41 +0800 Subject: iOS: Enable location updates Add Info.plist entries to enable location updates even in background. Signed-off-by: Murillo Bernardes --- packaging/ios/Info.plist.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packaging/ios') diff --git a/packaging/ios/Info.plist.in b/packaging/ios/Info.plist.in index 5686aa146..ce93a4da4 100644 --- a/packaging/ios/Info.plist.in +++ b/packaging/ios/Info.plist.in @@ -42,10 +42,17 @@ UIBackgroundModes bluetooth-central + location NSBluetoothPeripheralUsageDescription Subsurface-mobile can download dive information directly from some Bluetooth LE enabled dive computers; for this it needs access to your Bluetooth peripherals. NSPhotoLibraryUsageDescription Subsurface-mobile stores your dive list locally - iOS seems to think that means it accesses your photos (which it does not) + NSLocationWhenInUseUsageDescription + Subsurface-mobile can track your location to match imported dives + NSLocationAlwaysUsageDescription + Subsurface-mobile can track your location to match imported dives + NSLocationAlwaysAndWhenInUseUsageDescription + Subsurface-mobile can track your location to match imported dives -- cgit v1.2.3-70-g09d2