From 81b878da5968e27aaf03317753fafd278a3b834e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Herrero?= Date: Thu, 21 Feb 2019 16:51:54 +0100 Subject: [PATCH] GH-329: (android) Fixes issue: Exif data lost on many cases (#331) * GH-329 android: Fix Exif data lost when correctOrientation is true * Changed variable name --- src/android/CameraLauncher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index dca0906..6cdf0c5 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -988,6 +988,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect // read exifData of source exifData = new ExifHelper(); exifData.createInFile(filePath); + exifData.readExifData(); // Use ExifInterface to pull rotation information if (this.correctOrientation) { ExifInterface exif = new ExifInterface(filePath);