This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
Android - send session cookies #220
Open
Description
Hi,
I am using RN@0.34, RNFB@0.10.1-beta.3 and node/express.
Below is the code I use to send the uploaded document.
return RNFetchBlob.fetch('POST', nodeUrl, { 'Content-Type' : 'multipart/form-data', }, [{ name : 'file', filename : 'sample.png', data : wrappedURI }])
Session cookies are sent correctly for iOS , but for android, cookies are not being sent and user is getting logged out.
How can I inlcude credentials: 'include',
with the request ?
Any help is greatly appreciated.
Thanks