ionic-team / ionic-team/cordova-plugin-ionic-webview

Cookies are not stored on set cookie response header

Open
#73 5 comments 5 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if my issue is related to this one (https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/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:

cordova (Cordova CLI) : 7.1.0

local packages:

Cordova Platforms : none
Ionic Framework : ionic1 1.3.5

System:

ios-deploy : 1.9.1
ios-sim : 5.0.13
Node : v8.9.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Any clues?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.