You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Piotr Zalewa <pz...@mozilla.com> on 2015/07/30 13:58:52 UTC

Issue with firefoxos permission

https://issues.apache.org/jira/browse/CB-9407

For some reason permission is an empty array

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.config_path``

<permission description="Required for accessing cameras on the device."
name="camera" privileged="true" />
<permission name="systemXHR" privileged="true" />