1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

permissions: Update camera usage string to be more accurate

This changes the text that appears on the camera permission dialog, and makes it clear that camera access is also needed for the scanning of QR codes. This change was made to address a concern raised during the Apple app review process.

Testing
-------

PASS

Device: iPhone 13 Mini (physical)
iOS: 17.1
Damus: This commit
Special remarks: I locally modified the bundle identifier to be able to install a fresh copy of Damus from scratch and go through the prompt, without having to uninstall my own copy of Damus

Steps:
1. Install a fresh copy of Damus
2. On account creation, try to scan an nsec.
3. Make sure the camera usage prompt message is modified to the new string.

Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Daniel D’Aquino 2023-11-10 19:52:35 +00:00 committed by William Casarin
parent b2e555284b
commit 386a28455a

View File

@ -67,7 +67,7 @@
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>Damus needs access to your camera for creating photo posts</string>
<string>Damus needs access to your camera in order to upload photos and scan QR codes.</string>
<key>NSAppleMusicUsageDescription</key>
<string>Damus needs access to your media library for playback statuses</string>
<key>NSMicrophoneUsageDescription</key>