Skip to content

Commit

Permalink
raised package version and made saveImageAndModifyExif accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Haußmann committed Aug 22, 2024
1 parent b9c542f commit dd6afeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/ExifModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ExifModifier: NSObject {
saveImageAndModifyExif(base64ImageData: base64ImageData, properties: properties, resolve: resolve, reject: reject)
}

@objc func saveImageAndModifyExif(base64ImageData: String, properties: NSDictionary, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
@objc func saveImageAndModifyExif(_ base64ImageData: String, properties: NSDictionary, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
DispatchQueue.global(qos: .background).async {
guard let imageData = Data(base64Encoded: base64ImageData) else {
reject("E_IMAGE_DATA", "Invalid image data", nil)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lulububu/react-native-exif-modifier",
"version": "0.1.3",
"version": "0.1.4",
"description": "Allows you to modify the exif data of an image and save it.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit dd6afeb

Please sign in to comment.