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

Camera autofocus needs to be disabled at framework level and enabled on a per app basis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0
    • 1.6.0
    • cordova-android, cordova-js
    • None

    Description

      If i decide to add a camera feature in config.xml, with something like
      <feature name="http://api.phonegap.com/1.0/camera"/> and then generate a build through build.phonegap.com,
      I have noticed that the generated AndroidManifest.xml of the .apk file lists the following as requirements
      android.hardware.camera
      android.hardware.camera.autofocus
      While the first line is needed, the second is not and acts as a restricting filter in the android market even though camera autofocus in not a requirement.
      It would make more sense to have autofocus disabled on the framework level and enabled on a per-app basis only when needed.

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            manojmohan Manoj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: