Development environment: - nginx v1.14 on ubuntu 16 - React-Native v0.57
I'm using a frappe REST API and the login request returns multiple cookies and I'm getting the later value, the rest are replaced. But, the data I'm looking for is sent first(sid and expires data), as I checked it on Insomnia, it got replaced by another attribute. How can I handle multiple 'Set-Cookie' values sent separately?
Looks like this is a known bug in React Native version <0.60.
Here is the GitHub issue about it: https://github.com/facebook/react-native/issues/26280
Here is the PR that fixes it: https://github.com/facebook/react-native/pull/27066
Try upgrading your React Native version to the latest?