Skip to content

CAMERA_USAGE_DESCRIPTION not added to Info.plist #346

@jvancans

Description

@jvancans

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.

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