Skip to content

Commit 9170d48

Browse files
committed
fix: video compression uri android
1 parent 319fca8 commit 9170d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void onStart() {
8888
@Override
8989
public void onFinish(boolean result) {
9090
//convert finish,result(true is success,false is fail)
91-
promise.resolve(destinationPath);
91+
promise.resolve("file:/"+destinationPath);
9292
}
9393

9494

0 commit comments

Comments
 (0)