Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 4de6337

Browse files
committed
Fix Android SDCardDir path #174 #207
1 parent 6cfeb7e commit 4de6337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static public Map<String, Object> getSystemfolders(ReactApplicationContext ctx)
200200
String state;
201201
state = Environment.getExternalStorageState();
202202
if (state.equals(Environment.MEDIA_MOUNTED)) {
203-
res.put("SDCard", Environment.getExternalStorageDirectory().getAbsolutePath());
203+
res.put("SDCardDir", Environment.getExternalStorageDirectory().getAbsolutePath());
204204
}
205205
res.put("MainBundleDir", ctx.getApplicationInfo().dataDir);
206206
return res;

0 commit comments

Comments
 (0)