react-native-blob-util
Advanced tools
@@ -451,3 +451,3 @@ // Type definitions for react-native-fetch-blob 0.10 | ||
slice(src: string, dest: string, start: number, end: number): Promise<void>; | ||
slice(src: string, dest: string, start: number, end: number): Promise<string>; | ||
@@ -775,3 +775,3 @@ asset(path: string): string; | ||
/** | ||
* The destination which the file will be downloaded, it SHOULD be a location on external storage (DCIMDir). | ||
* The destination which the file will be downloaded, it SHOULD be a location on external storage (DCIMDir). CacheDir and DocumentDir don't work | ||
*/ | ||
@@ -784,3 +784,3 @@ path?: string; | ||
/** | ||
* A boolean value, see Officail Document | ||
* A boolean value, see Official Document | ||
* (https://developer.android.com/reference/android/app/DownloadManager.html#addCompletedDownload(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, long, boolean)) | ||
@@ -797,2 +797,7 @@ */ | ||
notification?: boolean; | ||
/** | ||
* If true android download manager will try to save the file to the apps Download direcotry | ||
*/ | ||
storeLocal?: boolean | ||
} | ||
@@ -799,0 +804,0 @@ |
{ | ||
"name": "react-native-blob-util", | ||
"version": "0.19.11", | ||
"version": "0.21.1", | ||
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.", | ||
@@ -5,0 +5,0 @@ "main": "index", |
10
types.js
@@ -5,3 +5,3 @@ | ||
UploadProgress: any, | ||
fileCache : bool, | ||
fileCache : boolean, | ||
transformFile: boolean; | ||
@@ -12,6 +12,6 @@ path : string, | ||
addAndroidDownloads : any, | ||
indicator : bool, | ||
followRedirect : bool, | ||
trusty : bool, | ||
wifiOnly : bool | ||
indicator : boolean, | ||
followRedirect : boolean, | ||
trusty : boolean, | ||
wifiOnly : boolean | ||
}; | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
733639
0.34%10186
0.38%