cordova-plugin-camera icon indicating copy to clipboard operation
cordova-plugin-camera copied to clipboard

GeoLocation information missing on iOS

Open JohnCastle4 opened this issue 1 year ago • 0 comments

Bug Report

Problem

What is expected to happen?

GeoLocation information is included in the EXIF data.

What does actually happen?

GeoLocation information is dropped.

Information

In function:

  • (void)imagePickerControllerReturnImageResult Reverting back to using self.data on line 812: CGImageDestinationRef destinationImage = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)self.data, sourceType, 1, NULL); Resolved the issue for us.

Our company policy prevents us from pushing the change back to the open source project.

Command or Code

Environment, Platform, Device

Version information

cordova-plugin-camera: 7.0.0 "cordova-ios": "^6.3.0"

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

JohnCastle4 avatar Jun 25 '24 10:06 JohnCastle4