Skip to content

Commit 6582ae8

Browse files
Ron RadtkeRon Radtke
Ron Radtke
authored and
Ron Radtke
committed
Fixing the legacy paths
1 parent 88466b5 commit 6582ae8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Map<String, Object> getConstants() {
9292
Map<String, Object> res = new HashMap<>();
9393
res.putAll(ReactNativeBlobUtilFS.getSystemfolders(this.getReactApplicationContext()));
9494
res.putAll(ReactNativeBlobUtilFS.getLegacySystemfolders(this.getReactApplicationContext()));
95-
95+
System.out.println(res);
9696
return res;
9797
}
9898

index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,13 @@ export interface Dirs {
481481
DCIMDir: string;
482482
SDCardDir: string;
483483
MainBundleDir: string;
484+
485+
LegacyPictureDir: string;
486+
LegacyMusicDir: string;
487+
LegacyMovieDir: string;
488+
LegacyDownloadDir: string;
489+
LegacyDCIMDir: string;
490+
LegacySDCardDir: string; // Depracated
484491
}
485492

486493
export interface ReactNativeBlobUtilWriteStream {

0 commit comments

Comments
 (0)