Aleksandr Grenishin
Aleksandr Grenishin
It will not crash if you set `maxConcurrentRequests` to value greater than parts number, it will upload all the parts at once without concurrency. Still can't figure out why concurrent...
Catched it. https://github.com/facebook/react-native/issues/27543 When any of sliced blobs get collected, react-native will deallocate the whole blob, which is leading to the app crash. @paulsizer for now you can temporarily set...
@paulsizer I'll release a new version soon, it should work. https://github.com/uploadcare/uploadcare-upload-client/pull/314
@paulsizer Does version 1.1.3 work as expected?
@paulsizer Starting from 1.1.3 version, uploadFile doesn't support `{ size, filename, type, uri }` input format, blobs only. > The above seemed to work the first time round. Tried it...
@paulsizer Is it the same uri, or a new one? Strange thing. Probably, fresh blobs are created by reference, not by value and react-native clears memory that blob and uri...
@paulsizer According to [this comment](https://github.com/facebook/react-native/blob/master/Libraries/Blob/Blob.js#L121), `new Blob([blob])` should create a copy of data in memory. I did some tests and it seems to work. Example: ```javascript let blobCopy = new...
Hey @paulsizer, did this workaround work?
@paulsizer could you provide a minimal snippet? I can't reproduce it :(
@paulsizer Try to use [react-native-url-polyfill](https://github.com/charpeni/react-native-url-polyfill) on Android to create URL for blobs.