react-native-cookies icon indicating copy to clipboard operation
react-native-cookies copied to clipboard

After RN migration from .55.4 to .57.5 I'm not able to return all the cookies

Open janet-rivas opened this issue 6 years ago • 4 comments

I have the same issue after migrate from .55.4 to .56 and .57.5 react-native-cookies third part library does not return all my cookies, I guess it has something to do with WKWebView implementation, even when I created a module to work with objective C and part of react-native-cookies code to get all the cookies and I had different result for .55.4 and .57.5

This is how it looks using objective C and the debugger, I got 26 keys in comparison of just 7 keys.

img2 img1

janet-rivas avatar Nov 25 '18 19:11 janet-rivas

Any update?

jamesone avatar Mar 15 '19 22:03 jamesone

Is this library still working ? I doubt

kunal886496 avatar Mar 20 '19 11:03 kunal886496

I found a combination where is working, "react-native-cookies": "^3.3.0", "react": "^16.5.2", "react-native": "^0.57.2", and we had to add credentials: "include" in every fetch call Example fetch(url, { method: "GET", credentials: "include" })

janet-rivas avatar Mar 20 '19 13:03 janet-rivas

I have forked the repo here: https://github.com/safaiyeh/react-native-cookie-store We can create issues and PRs there to continue the development of the project.

safaiyeh avatar Jan 02 '20 19:01 safaiyeh