Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements over built-in XHR + FormData? #4

Closed
philikon opened this issue Nov 11, 2015 · 2 comments
Closed

Improvements over built-in XHR + FormData? #4

philikon opened this issue Nov 11, 2015 · 2 comments

Comments

@philikon
Copy link

This is great, but I was wondering if react-native-file-upload provided any improvements over the functionality provided in React Native proper, and if so, what. A few months ago I polyfilled XMLHttpRequest and FormData so that file upload scenarios should be possible, on both iOS and Android. Check out https://github.com/facebook/react-native/blob/fe42a28de12926c7b3254420ccb85bef5f46327f/Examples/UIExplorer/XHRExample.ios.js#L215-L230 for instance.

If there is anything that's missing from React Native, I'd love to hear about it. It'd be great to get those features into React Native. Thanks!

cc @booxood @PhilippKrone

@philikon philikon changed the title Improvements over built-in XHR + FormData Improvements over built-in XHR + FormData? Nov 11, 2015
@booxood
Copy link
Owner

booxood commented Nov 17, 2015

@philikon

No Improvements, only to support file upload for React Native old version. If now React Native have been provided that it is really nice!

Maybe can add some suggestions for the new version of user.

@gorjanz
Copy link

gorjanz commented Mar 10, 2016

@philikon
Can you please advise me how to actually upload the image, as multipart binary data, instead of uploading the details for the image, as in the example? Thanks.

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

No branches or pull requests

3 participants