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

EXIF details are not available when taking a photo on Android 6.x (Nexus 5)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-camera
    • None
    • Android 6.0 (Nexus 5)

    Description

      When taking a photo using cordova-plugin-camera in the hybrid application on Android 6.0 there is no location EXIF details available. Please note that it works fine on Android 7.0.

      I'm not an Android developer but it seems that the cordova camera plugin uses ExifInterface class (https://developer.android.com/reference/android/media/ExifInterface#ExifInterface(java.io.FileDescriptor)) which was added in API level 24 (Android 7.0) and it does not provide add EXIF details when taking a photo on a platform below Android 7.0.

      The problem exists on the latest cordova-plugin-camera version 4.0.3

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryaa Alex Ryltsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: