Skip to content

Commit 4d12efd

Browse files
committed
fix: android build crash
1 parent e0429f8 commit 4d12efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativecompressor/Video/VideoCompressorHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void sendEventString(ReactContext reactContext,
4949
}
5050

5151
public static void video_upload_helper(String fileUrl, ReadableMap options, ReactApplicationContext reactContext, Promise promise) {
52-
new FileUploader(fileUrl,options,reactContext,promise).execute();
52+
FileUploader.upload(fileUrl,options,reactContext,promise);
5353
}
5454

5555
@SuppressLint("InvalidWakeLockTag")

0 commit comments

Comments
 (0)