diff --git a/fs.js b/fs.js index 2b4b3ba78..e61f44312 100644 --- a/fs.js +++ b/fs.js @@ -20,17 +20,8 @@ const dirs = { MovieDir : RNFetchBlob.MovieDir, DownloadDir : RNFetchBlob.DownloadDir, DCIMDir : RNFetchBlob.DCIMDir, - get SDCardDir() { - console.warn('SDCardDir as a constant is deprecated and will be removed in feature release. ' + - 'Use RNFetchBlob.android.getSDCardDir():Promise instead.'); - return RNFetchBlob.SDCardDir; - }, - get SDCardApplicationDir() { - console.warn('SDCardApplicationDir as a constant is deprecated and will be removed in feature release. ' + - 'Use RNFetchBlob.android.getSDCardApplicationDir():Promise instead. ' + - 'This variable can be empty on error in native code.'); - return RNFetchBlob.SDCardApplicationDir; - }, + SDCardDir: RNFetchBlob.SDCardDir, // Depracated + SDCardApplicationDir: RNFetchBlob.SDCardApplicationDir, // Deprecated MainBundleDir : RNFetchBlob.MainBundleDir, LibraryDir : RNFetchBlob.LibraryDir }