cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-12959) Conflict between camera and media capture plugin
Date Sun, 09 Jul 2017 12:09:00 GMT


jcesarmobile commented on CB-12959:

The linked PR has nothing to do with the issue, right?

Yeah, when we added empty strings, Apple wasn't rejecting apps because of that, and the empty
string was enough to make the app not crash.

Right now it's possible to set the variables from the config.xml, but the variables are for
each plugin, not global. Once we make the config-file tag from the config.xml we should remove
all the empty strings from the plugins and document how to set the usage descriptions from
the config.xml

> Conflict between camera and media capture plugin
> ------------------------------------------------
>                 Key: CB-12959
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera, cordova-plugin-media-capture
>            Reporter: Connor Pearson
>            Priority: Minor
> We recently had a build fail the itunes upload due to NSCameraUsageDescription not being
set. It was caused by the newer version of the media-capture plugin defining NSCameraUsageDescription
and NSPhotoLibraryUsageDescriptionentry with an empty string and blowing away the value set
by the camera plugin variables.
> The workaround is pretty simple: just set the same variables for both plugins, but I
would expect core plugins to work nicely with each other. Is it necessary for the plugins
to control these parameters? Could one define these values in config.xml instead of relying
on the plugins?
> Also, if an empty string is no longer valid for app submission should it be added by

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message