Skip to content

Commit

Permalink
Fixing the legacy paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Radtke authored and Ron Radtke committed Oct 11, 2022
1 parent 88466b5 commit 6582ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public Map<String, Object> getConstants() {
Map<String, Object> res = new HashMap<>();
res.putAll(ReactNativeBlobUtilFS.getSystemfolders(this.getReactApplicationContext()));
res.putAll(ReactNativeBlobUtilFS.getLegacySystemfolders(this.getReactApplicationContext()));

System.out.println(res);
return res;
}

Expand Down
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,13 @@ export interface Dirs {
DCIMDir: string;
SDCardDir: string;
MainBundleDir: string;

LegacyPictureDir: string;
LegacyMusicDir: string;
LegacyMovieDir: string;
LegacyDownloadDir: string;
LegacyDCIMDir: string;
LegacySDCardDir: string; // Depracated
}

export interface ReactNativeBlobUtilWriteStream {
Expand Down

0 comments on commit 6582ae8

Please sign in to comment.