Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 23, 2025

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 the NSLocationAlwaysAndWhenInUseUsageDescription key with a user-facing description explaining why the app requires location access.

Changes Made

  • Added the NSLocationAlwaysAndWhenInUseUsageDescription key to ios/App/App/Info.plist with an appropriate description
  • Used wording consistent with the existing NSLocationWhenInUseUsageDescription to maintain messaging consistency
  • Updated CHANGELOG.md to document this fix in the Unreleased section

This 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.

@Copilot Copilot AI changed the title [WIP] Add Missing Purpose String in Info.plist Add Missing NSLocationAlwaysAndWhenInUseUsageDescription Purpose String in Info.plist May 23, 2025
@Copilot Copilot AI requested a review from numbers-official May 23, 2025 06:52
Copilot finished work on behalf of numbers-official May 23, 2025 06:52
@numbers-official numbers-official requested a review from Copilot May 23, 2025 06:57
Copy link

@Copilot Copilot AI left a 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

Comment on lines +49 to 51
<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>
Copy link
Preview

Copilot AI May 23, 2025

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.

Suggested change
<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
Copy link
Preview

Copilot AI May 23, 2025

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.

@numbers-official numbers-official requested review from olgahaha and removed request for numbers-official May 23, 2025 07:08
@olgahaha olgahaha marked this pull request as ready for review May 23, 2025 07:28
@olgahaha olgahaha merged commit e67063a into main May 23, 2025
17 checks passed
@olgahaha olgahaha deleted the copilot/fix-3334 branch August 4, 2025 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Missing Purpose String in Info.plist
3 participants