You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/10/14 22:41:00 UTC

[jira] [Commented] (CB-13407) Camera Plugin, Kindle Fire and Android Permissions incompatibility

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

jcesarmobile commented on CB-13407:
-----------------------------------

Camera plugin doesn't use CAMERA permission as it uses an intent to launch camera app, so it should be another plugin the one adding the CAMERA permission

> Camera Plugin, Kindle Fire and Android Permissions incompatibility
> ------------------------------------------------------------------
>
>                 Key: CB-13407
>                 URL: https://issues.apache.org/jira/browse/CB-13407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>            Reporter: Mark Watkins
>            Assignee: Jesse MacFadyen
>
> I'm using the Camera plugin and porting a working Android project to Kindle Fire (FireOS). When submitting to the Amazon store, their compatibility tester fails for most recent devices because it states that my manifest file requires the android.hardware.camera.autofocus permission, but that recent devices don't support that permission. So far as I can tell, the plugin does not specifically request this permission, however according to Android docs, the autofocus permission is "implied" by default when the camera permission is requested. ([https://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions](https://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions))
> I am working around this at present by manually adding 
> (https://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions)
> to my AndroidManifest.xml file, but I'm wondering if the plugin itself should explicitly declare this permission not required, so that most recent Kindle Fire devices can be supported out of the box?



--
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