cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-12959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079581#comment-16079581
] 

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: https://issues.apache.org/jira/browse/CB-12959
>             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
default?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message