Skip to content

NSCameraUsageDescription #38

@tsargent

Description

@tsargent

I am using the library in a simple app and am getting a rejection from Apple TestFlight because of the following error:

ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “TurtleTuner.app” bundle should contain a NSCameraUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.

This seems very unrelated to react-native-pitch-detector, but when I remove the dependency, the app gets accepted on TestFlight.

My repo: https://github.com/tsargent/turtle-tuner

This commit does not get rejected from TestFlight, and it simply removes the dependency: https://github.com/tsargent/turtle-tuner/commit/67d4a52e62839ad6c2a49848bea9c408d983f17a

Am I missing something with permissions? Why would I need camera permissions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions