tus-js-client
tus-js-client copied to clipboard
A pure JavaScript client for the tus resumable upload protocol
Setting the chunkSize option while uploading with a react-native app on ios gives an error like this: ``` [native] Exception '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'...
I am using this Library with React native I am uploading a video to Cloudflare and I am getting the video through react-native image picker. Some of the time the...
### **Describe the bug** When I try to upload data to an endpoint that uses tus protocol for uploading files, when using the onProgress property it only declares the initial...
**Describe the bug** Not able to upload the file from tus-js-client react-native , showing [Error: tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. [object...
Right now, the definitions life in a separate file and have to be updated manually by hand. This sometimes causes the actual interface of tus-js-client and its TS definitions to...
Currently, the definitions reference browser-specific types, which do not exist in other environments, e.g. in Node.js: https://github.com/tus/tus-js-client/blob/239343a75da5aaedeefbc3bf2438062554b5db8d/lib/index.d.ts#L8 It would be better to replace them with interfaces, so we are independent...
I am not sure if this makes sense in practice but it is nice to test uploadLengthDeferred and keep the code consistent.
**Question** Hi, I tried running the React Native example on Expo and am getting an error. **Setup details** - Runtime environment: Expo React Native - Used tus-js-client version: 2.2.0 -...
**Describe the bug** If a remote resource is deferred and the server reports the "Upload-Defer-Length: 1" header, tus-js-client is not able to upload against the resource without options.uploadLengthDeferred. The protocol...
**Describe the bug** Upload failed if app is running in the background in React Native. Specially in IOS **Setup details** Please provide following details, if applicable to your situation: -...