Not getting Set-Cookie in headers if i call login

2019-06-10 04:47发布

问题:

Getting the set-cookie in header for first time, after that if i logout and login again not getting set-cookie in RESPONSE HEADERS in reactnative using fetch. i used to handle this in ios by setting setHTTPShouldHandleCookies to No.

Please let me know how to get set-cookie in reactnative even if i call login for 100 times.

thanks in advance.