Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

55
Views
How to handle multiple set-cookie values in react-native?

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? insomnia reponse

fetch request log

9 months ago · Santiago Trujillo
1 answers
Answer question

0

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?

9 months ago · Santiago Trujillo Report
Answer question
Find remote jobs