From c554b5785959694c404385b088e407d172654300 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 15 Jun 2022 15:32:35 -0700 Subject: [PATCH] iOS: the SDK references APIs that we don't use And the way this gets bundled into an iOS app means that we have to declare permissions that we don't use because the SDK we use could use them. On some level I can understand that logic, but in general... this is just dumb. Signed-off-by: Dirk Hohndel --- packaging/ios/Info.plist.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/ios/Info.plist.in b/packaging/ios/Info.plist.in index e446a5050..5923c9a9a 100644 --- a/packaging/ios/Info.plist.in +++ b/packaging/ios/Info.plist.in @@ -49,6 +49,12 @@ 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 does NOT access your location information, but iOS seems to think it does because one of the core libraries we use has the ability to access location information. + NSLocationAlwaysUsageDescription + Subsurface-mobile does NOT access your location information, but iOS seems to think it does because one of the core libraries we use has the ability to access location information. + NSLocationAlwaysAndWhenInUseUsageDescription + Subsurface-mobile does NOT access your location information, but iOS seems to think it does because one of the core libraries we use has the ability to access location information. UIFileSharingEnabled LSSupportsOpeningDocumentsInPlace