Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

iOS asks for NSPhotoLibraryUsageDescription #62

Open
all43 opened this issue Mar 12, 2017 · 2 comments
Open

iOS asks for NSPhotoLibraryUsageDescription #62

all43 opened this issue Mar 12, 2017 · 2 comments

Comments

@all43
Copy link

all43 commented Mar 12, 2017

General information

  • SDK/Library version: card.io.cordova.mobilesdk 2.1.0
  • Platforms: IOS
  • Device OS Version and Device: Generic iOS device

Issue description

I have cordova app with only this plugin using camera installed. It work's well on the device, but when I trying to submit build into AppStore I get this mail from Apple:

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

I know how to set plist key, but I don't want to confuse app users because my app didn't use photo library(I hope plugin didn't use it too). How to avoid this error without setting photo library usage description?

@TheBrockEllis
Copy link

I am currently running into the same issue. I have an entry in my plist file for NSCameraUsageDescription as instructed by this repo's README file. However, no where does this project say anything about the Photo Library, but the app store is requiring me to provide a NSPhotoLibraryUsageDescription. Anyone have any idea?

@all43
Copy link
Author

all43 commented Jul 27, 2017

It seems that one of plugin dependencies provokes such behaviour. Only solutions I've found - provide any text to NSPhotoLibraryUsageDescription. App will never ask for it actually.

        <config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
            <string>card.io-iOS-SDK requirement. Not really used</string>
        </config-file>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants