From 16325102c739fe9b202ae81bc957b3c565304561 Mon Sep 17 00:00:00 2001 From: Norman Breau Date: Fri, 25 Oct 2024 13:59:29 -0300 Subject: [PATCH] fix(android): Improper serialization of image uri in save instance state (#903) --- src/android/CameraLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 00fa751..5b95d40 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -1378,7 +1378,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect } if (this.imageUri != null) { - state.putString(IMAGE_URI_KEY, this.imageFilePath); + state.putString(IMAGE_URI_KEY, this.imageUri.toString()); } if (this.imageFilePath != null) {