-
Notifications
You must be signed in to change notification settings - Fork 7
Add Missing NSLocationAlwaysAndWhenInUseUsageDescription Purpose String in Info.plist #3337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: numbers-official <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds the required NSLocationAlwaysAndWhenInUseUsageDescription
key to the iOS app’s Info.plist
to satisfy Apple’s privacy policy and records this change in the changelog.
- Introduce the missing permission purpose string in
Info.plist
- Update
CHANGELOG.md
under Unreleased to document the fix
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
ios/App/App/Info.plist | Added NSLocationAlwaysAndWhenInUseUsageDescription key with user-facing message |
CHANGELOG.md | Added an Unreleased entry for the new permission string |
<string>Grant GPS permission to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string> | ||
<key>NSLocationWhenInUseUsageDescription</key> | ||
<string>Grant GPS permission when the app is in use to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The phrase "anyone who you share the photo with" is slightly awkward. Consider revising to "anyone you share the photo with" for smoother grammar.
<string>Grant GPS permission to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string> | |
<key>NSLocationWhenInUseUsageDescription</key> | |
<string>Grant GPS permission when the app is in use to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string> | |
<string>Grant GPS permission to allow the app to append location information to your photo automatically so that you or anyone you share the photo with will know where the photo is taken.</string> | |
<key>NSLocationWhenInUseUsageDescription</key> | |
<string>Grant GPS permission when the app is in use to allow the app to append location information to your photo automatically so that you or anyone you share the photo with will know where the photo is taken.</string> |
Copilot uses AI. Check for mistakes.
|
||
### Fixed | ||
|
||
1. Add missing NSLocationAlwaysAndWhenInUseUsageDescription purpose string in Info.plist for iOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The changelog uses a numbered list here but other entries may use bullet points. For consistency, consider switching to a hyphenated list (e.g., "- Add missing ...").
Copilot uses AI. Check for mistakes.
Issue
We received a notification regarding an issue with the most recent delivery for the iOS app. The delivery was successful, but Apple flagged the following issue:
ITMS-90683: Missing Purpose String in Info.plist
The app references location APIs that access sensitive user data, but the
Info.plist
file was missing theNSLocationAlwaysAndWhenInUseUsageDescription
key with a user-facing description explaining why the app requires location access.Changes Made
NSLocationAlwaysAndWhenInUseUsageDescription
key toios/App/App/Info.plist
with an appropriate descriptionNSLocationWhenInUseUsageDescription
to maintain messaging consistencyThis change is minimal and only adds the required permission description to satisfy Apple's requirements for apps that request location access.
Fixes #3334.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.