-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookies are not stored on set cookie response header #73
Comments
I'm facing exactly the same problem. It's working fine for me too on real devices. But no luck with the simulators. However, the cookie info seems to be included in the request header if "localhost" is the server. One thing to note here is, it doesn't work if I replace "localhost" with my local IP. |
Same issue here. Using WKWebView and PouchDB that requires authentication cookies, never works on Simulator. Switching to UIWebView then works ok on Simulator. Fine on real device. Not sure if its related to this bug regarding simulator being case sensitive for headers: https://stackoverflow.com/questions/44315389/ios-httpurlresponse-header-field-case-sensitivity |
@DimitryDushkin I don't quite understand on how to apply this fix. I am working with Ionic1/AngularJS and have set up Android and iOS platforms via ionic/cordova commands. |
Try this. Works without any plugins |
I'm not sure if my issue is related to this one (#22) but when I use this plugin in the simulator cookies are never set by setCookie from response headers provided by my backend on login. It doesn't matter how many times I make this request, the cookies are never set. I can login just fine when I run the app from my device, and according to the logs from the backend, the cookie is set on all following requests.
Here is my ionic info output:
ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
local packages:
System:
Environment Variables:
Misc:
Any clues?
The text was updated successfully, but these errors were encountered: