Closed lbhifi closed 6 years ago
Ok, I see that the readme states "The Camera.Destination must be set to FILE_URI", but it only works with Camera.PictureSourceType.CAMERA (only tried Android). I was hoping this plug-in would give me the exif regardless of source and destination type.
Ok, I now tried it on iOS 10.2 and 8.1.1, and it just doesn't work with existing pictures using sourceType:Camera.PictureSourceType.PHOTOLIBRARY. Tried FILE_URI and NATIVE_URI and there's no exif data using either.
cordova-plugin-camera-with-exif v. 1.1.9
If I pass these options then iOS crashes and Android just returns the base64 without exif (json_metadata="error retrieveing exif from external url"):
correctOrientation:true destinationType:Camera.DestinationType.DATA_URL encodingType:Camera.EncodingType.JPEG quality:60 sourceType:Camera.PictureSourceType.PHOTOLIBRARY targetHeight:900 targetWidth:1200