Skip to content
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
@Chandragandla

Description

@Chandragandla

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions