info.plist? I uploaded my app to apple but they rejected it because of NSPhotoLibraryUsageDescription key

  • Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

    where and how do I set this?

  • Monaca

    @swordfishweb Please add the following script to your config.xml file:

    <edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
        <string>Need Photo Library access to get photos</string>

Log in to reply