Skip to content

fix: remove unused iOS camera and microphone prompts - #119

Open
namedtoaster wants to merge 1 commit into
vazonhub:developfrom
namedtoaster:fix/ios-permission-prompts
Open

namedtoaster wants to merge 1 commit into
vazonhub:developfrom
namedtoaster:fix/ios-permission-prompts

Conversation

@namedtoaster

@namedtoaster namedtoaster commented Nov 20, 2026 •

Copy link
Copy Markdown

What & why

expo-image-picker writes default iOS camera and microphone texts ("Allow $(PRODUCT_NAME) to access your camera" and the same for the microphone) unless they are set. The app only picks photos from the library (nothing calls launchCameraAsync, and there is no audio or video package), so this sets both to false, which removes the keys from Info.plist.

Apple asks that purpose strings describe the app's use (App Review Guideline 5.1.1(ii)), and App Review has recently been rejecting builds through an automated check for placeholder purpose strings. These two are also in English inside an otherwise localised app.

How to test

Config only; I haven't built the app. Run npx expo config --type introspect and check ios.infoPlist: NSCameraUsageDescription and NSMicrophoneUsageDescription should be gone and the Russian photos text unchanged. Android is unaffected apart from the camera and audio permissions being blocked, which the app doesn't use.

Checklist

  • npm run lint and npm run typecheck pass (CI will show; config change only)
  • Tested on iOS
  • Tested on Android (or the change doesn't affect it)
  • Follows the MVC layering (see CONTRIBUTING.md) (n/a, config only)
  • Screenshots attached for UI changes (n/a, no UI change)

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.

1 participant