Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
735 stars 335 forks source link

Android: Support content:// URI #195

Closed xubmuajkub closed 4 years ago

xubmuajkub commented 4 years ago

I've used the React Native Document Picker for picking files to upload to server. It works fine on iOS which the file URI is file://, but when it comes to Android which using content:// URI, there's error thrown Parameters must be string key/values (I used multipart type). I was tried using React-Native-Fetch-Blob to get the real path of the file, but when I try on upload the file it said Unsupported scheme file://path.to.file. I hope that this library will support content:// soon.