Skip to content

Commit 077b833

Browse files
authored
fix: writeFile
1 parent 5c3e251 commit 077b833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilFS.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class ReactNativeBlobUtilFS {
5454
static boolean writeFile(String path, String encoding, String data, final boolean append) {
5555
try {
5656
int written;
57+
path = ReactNativeBlobUtilUtils.normalizePath(path);
5758
File f = new File(path);
5859
File dir = f.getParentFile();
5960
if (!f.exists()) {

0 commit comments

Comments
 (0)