Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMERA_USAGE_DESCRIPTION not added to Info.plist #346

Open
jvancans opened this issue Mar 15, 2017 · 0 comments
Open

CAMERA_USAGE_DESCRIPTION not added to Info.plist #346

jvancans opened this issue Mar 15, 2017 · 0 comments

Comments

@jvancans
Copy link

Description variable is not added to Info.plist file when using plugin version 6.0.6.
This is how plugin is defined in "config.xml":
<plugin name="phonegap-plugin-barcodescanner" spec="~6.0.3"> <variable name="CAMERA_USAGE_DESCRIPTION" value="Because I need to scan barcodes"/> </plugin>

In result, upload to iTunes connect fails:

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

Everything works fine when rolling back to older plugin version - 6.0.3.

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

No branches or pull requests

1 participant