Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

I can cookies from CookieManager, but it seems not connected to NSHTTPCookieStorage. #153

@jihyeonjeong11

Description

@jihyeonjeong11

Thanks in advance.

CookieManager.getAll => Object {
  "GD5ATL": Object {
    "domain": ".crunchprice.com",
    "name": "GD5ATL",
    "path": "/",
    "value": "%7B%22__gd5a%22%3A%22__gd5si%22%2C%22__gd5t%22%3A%22YToyOntpOjA7czozMjoiR3L0FCjFUOHQV%5C%2FiG1%2BpolI4onqUZml2nlupvX2wdYTMiO2k6MTtzOjMyOiIPDj7ZG%2Bi59CEugaw1L%2BJcpP64r0%2BrjvyqF2as%5C%2FYDGSiI7fQ%3D%3D%22%7D",
  },
  "GD5SESSID": Object {
    "domain": ".crunchprice.com",
    "name": "GD5SESSID",
    "path": "/",
    "value": "63008s7mrd8ejd9ok38pvst69b4f58s19c3uj4picvldhm1ftun8vl9ebv4078ri3tbk3eqdqmka4auihqmqbkp9uujoqibsmntqs01",
  },
  "myCookie": Object {
    "domain": "some domain",
    "name": "myCookie",
    "path": "/",
    "value": "myValue",
  },
}

So I successfully managed to get cookies from my login response.
And it persists when app is killed, only in CookieManager.

How can I set cookies to its native wrapper?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions