From 63513bed1289c607295fa6012be5b5e227fce7c0 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Wed, 14 Sep 2016 17:40:53 -0400 Subject: [PATCH] Apple now requires camera permission explanation Even though it's pretty obvious why we need your camera when you push a "take photo" button... Unfortunately this warning will be confusing if someone's first exposure to it is to scan an identity code, but that seems like an edge case not worth pegging an extra sentence of copy to an already unnecessary warning. Also, we're enabling push notifications for dev, per apple build submission feedback. // FREEBIE --- Signal.xcodeproj/project.pbxproj | 5 +++++ Signal/Signal-Info.plist | 4 +++- Signal/Signal.entitlements | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Signal.xcodeproj/project.pbxproj b/Signal.xcodeproj/project.pbxproj index 8fc71820b..862ad0a18 100644 --- a/Signal.xcodeproj/project.pbxproj +++ b/Signal.xcodeproj/project.pbxproj @@ -2392,6 +2392,9 @@ com.apple.InterAppAudio = { enabled = 0; }; + com.apple.Push = { + enabled = 1; + }; com.apple.VPNLite = { enabled = 0; }; @@ -3227,6 +3230,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Signal/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = U68MSDN6DR; @@ -3282,6 +3286,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Signal/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = U68MSDN6DR; diff --git a/Signal/Signal-Info.plist b/Signal/Signal-Info.plist index 58c0bac18..21938c5c6 100644 --- a/Signal/Signal-Info.plist +++ b/Signal/Signal-Info.plist @@ -38,7 +38,7 @@ CFBundleVersion - 2.5.0.13 + 2.5.0.14 ITSAppUsesNonExemptEncryption LOGS_EMAIL @@ -71,6 +71,8 @@ NSAppleMusicUsageDescription Signal needs to use Apple Music to play media attachments. + NSCameraUsageDescription + Signal will let you take a photo to send to your contacts. You can review it before sending. NSContactsUsageDescription Signal uses your contacts to find users you know. We do not store your contacts on the server. NSMicrophoneUsageDescription diff --git a/Signal/Signal.entitlements b/Signal/Signal.entitlements index 0c67376eb..903def2af 100644 --- a/Signal/Signal.entitlements +++ b/Signal/Signal.entitlements @@ -1,5 +1,8 @@ - + + aps-environment + development +