Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Support content URIs properly for uploads on Android #546

Open
wants to merge 28 commits into
base: 0.11.0
Choose a base branch
from

Conversation

tombailey
Copy link

Content URIs can point to "virtual files" on Android. Rather than trying to determine an actual file path for these URIs, which may or may not exist, stream the input without a file path.

This isn't a complete PR as it focuses on uploads only. Someone will probably need to add some logic in for local file access.

wkh237 and others added 27 commits March 27, 2017 22:28
createJSModules was removedin React Native 0.47.0 and results in the attached Build Error.
removing @OverRide fixes build (didn't remove function because I don't know if it should be kept for downard compatability?)

```
node_modules/react-native-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java:23: error: method does not override or implement a method from a supertype
    @OverRide
    ^
1 error

Incremental compilation of 1 classes completed in 0.219 secs.
:react-native-fetch-blob:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.
```
remove extra space
@tombailey
Copy link
Author

Latest 2 commits are the relevant changes

@lll000111
Copy link
Contributor

FYI

react-native-fetch-blob has a new maintained location. Check out the README.

Please consider submitting your PR there, this repository is unmaintained.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants