diff options
author | Murillo Bernardes <mfbernardes@gmail.com> | 2017-12-03 03:43:41 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-03 08:19:00 -0800 |
commit | f6d13374bd95acb3c476e91789cd7722a9b2b206 (patch) | |
tree | 6804b6eaaa62f187f1d6e41cf8166f81b8d882f4 /packaging/ios | |
parent | 3f5101e8a434673bc6cb5cf7804cbde152dcdeab (diff) | |
download | subsurface-f6d13374bd95acb3c476e91789cd7722a9b2b206.tar.gz |
iOS: Enable location updates
Add Info.plist entries to enable location updates even in background.
Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/Info.plist.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ <key>UIBackgroundModes</key> <array> <string>bluetooth-central</string> + <string>location</string> </array> <key>NSBluetoothPeripheralUsageDescription</key> <string>Subsurface-mobile can download dive information directly from some Bluetooth LE enabled dive computers; for this it needs access to your Bluetooth peripherals.</string> <key>NSPhotoLibraryUsageDescription</key> <string>Subsurface-mobile stores your dive list locally - iOS seems to think that means it accesses your photos (which it does not)</string> + <key>NSLocationWhenInUseUsageDescription</key> + <string>Subsurface-mobile can track your location to match imported dives</string> + <key>NSLocationAlwaysUsageDescription</key> + <string>Subsurface-mobile can track your location to match imported dives</string> + <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> + <string>Subsurface-mobile can track your location to match imported dives</string> </dict> </plist> |