|
|
|
|
20
|
MovieDir : RNFetchBlob.MovieDir,
|
20
|
MovieDir : RNFetchBlob.MovieDir,
|
21
|
DownloadDir : RNFetchBlob.DownloadDir,
|
21
|
DownloadDir : RNFetchBlob.DownloadDir,
|
22
|
DCIMDir : RNFetchBlob.DCIMDir,
|
22
|
DCIMDir : RNFetchBlob.DCIMDir,
|
23
|
- get SDCardDir() {
|
|
|
24
|
- console.warn('SDCardDir as a constant is deprecated and will be removed in feature release. ' +
|
|
|
25
|
- 'Use RNFetchBlob.android.getSDCardDir():Promise instead.');
|
|
|
26
|
- return RNFetchBlob.SDCardDir;
|
|
|
27
|
- },
|
|
|
28
|
- get SDCardApplicationDir() {
|
|
|
29
|
- console.warn('SDCardApplicationDir as a constant is deprecated and will be removed in feature release. ' +
|
|
|
30
|
- 'Use RNFetchBlob.android.getSDCardApplicationDir():Promise instead. ' +
|
|
|
31
|
- 'This variable can be empty on error in native code.');
|
|
|
32
|
- return RNFetchBlob.SDCardApplicationDir;
|
|
|
33
|
- },
|
|
|
|
|
23
|
+ SDCardDir: RNFetchBlob.SDCardDir,
|
|
|
24
|
+ SDCardApplicationDir: RNFetchBlob.SDCardApplicationDir,
|
34
|
MainBundleDir : RNFetchBlob.MainBundleDir,
|
25
|
MainBundleDir : RNFetchBlob.MainBundleDir,
|
35
|
LibraryDir : RNFetchBlob.LibraryDir
|
26
|
LibraryDir : RNFetchBlob.LibraryDir
|
36
|
}
|
27
|
}
|