react-native-my-uploader-android 1.0.56 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -561,7 +561,8 @@ fun CropImageWithUri(fileUri: String, crop: ReadableMap, promise: Promise) {
561
561
  }
562
562
  }.start()
563
563
  } else {
564
-
564
+ // Kullanıcı iptal etti veya hata oluştu — Promise'i mutlaka sonlandır
565
+ currentPromise?.reject(E_FAILED_TO_OPEN_DOCUMENT, "İPTAL_EDİLDİ")
565
566
  }
566
567
  }
567
568
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-my-uploader-android",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "file uploader for android",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./src/index.d.ts",