diff --git a/android/src/main/java/com/exifmodifier/ExifModifierModule.java b/android/src/main/java/com/exifmodifier/ExifModifierModule.java index 9b8c153..2188271 100644 --- a/android/src/main/java/com/exifmodifier/ExifModifierModule.java +++ b/android/src/main/java/com/exifmodifier/ExifModifierModule.java @@ -44,7 +44,8 @@ public void saveImageWithUserComment(String base64ImageData, String userComment, } } - private void saveImageAndModifyExif(String base64ImageData, Map exifProperties, Promise promise) throws IOException { + @ReactMethod + public void saveImageAndModifyExif(String base64ImageData, Map exifProperties, Promise promise) throws IOException { Context context = getReactApplicationContext(); // Decode the base64 string to a bitmap