Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13407

Camera Plugin, Kindle Fire and Android Permissions incompatibility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • cordova-plugin-camera
    • None

    Description

      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?

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            viking2917 Mark Watkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: