We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a81c2c commit 872616aCopy full SHA for 872616a
1 file changed
android/src/main/java/com/capacitorjs/plugins/camera/IonCameraFlow.kt
@@ -331,7 +331,7 @@ class IonCameraFlow(
331
saveToGallery = false,
332
includeMetadata = false
333
)
334
- val imageBase64 = call.data.getString("base64")
+ val imageBase64 = call.getString("inputImage")
335
if (imageBase64 == null) return
336
manager.editImage(plugin.activity, imageBase64, editLauncher)
337
}
@@ -687,8 +687,7 @@ class IonCameraFlow(
687
688
private fun handleEditBase64Result(image: String) {
689
val ret = JSObject()
690
- ret.put("format", "jpeg")
691
- ret.put("base64String", image)
+ ret.put("outputImage", image)
692
currentCall?.resolve(ret)
693
currentCall = null
694
0 commit comments