Skip to content

Commit

Permalink
made the save image and modify exif function public
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Haußmann committed Aug 22, 2024
1 parent d4570fb commit 8af7baa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public void saveImageWithUserComment(String base64ImageData, String userComment,
}
}

private void saveImageAndModifyExif(String base64ImageData, Map<String, String> exifProperties, Promise promise) throws IOException {
@ReactMethod
public void saveImageAndModifyExif(String base64ImageData, Map<String, String> exifProperties, Promise promise) throws IOException {
Context context = getReactApplicationContext();

// Decode the base64 string to a bitmap
Expand Down

0 comments on commit 8af7baa

Please sign in to comment.