{ "id": "176045", "key": "TIMOB-28347", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2021-02-10T20:39:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cookie", "parity", "webView" ], "versions": [], "issuelinks": [ { "id": "59183", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "173221", "key": "TIMOB-26915", "fields": { "summary": "iOS: Implement cookie in TiUIWebView using WKHTTPCookieStore", "status": { "description": "Submitted for code review", "name": "In Review", "id": "10003", "statusCategory": { "id": 4, "key": "indeterminate", "colorName": "yellow", "name": "In Progress" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-12T01:27:47.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "After implementing TIMOB-26915, in iOS, every WebView will have it's own cookie management. It will not be in sync with Ti.Network.HTTPClient cookies. \r\nIn android, it looks [System Cookie|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network-method-addSystemCookie] are used for WebView only. I think it can be moved inside WebView to have parity.\r\n\r\nNew WebView cookie APIs -\r\nMethod -\r\na) webview.addCookie(Titanium.Network.Cookie);\r\nb) webview.removeCookie('domain', 'path', 'name');\r\nc) webview.removeAllCookies();\r\nd) webview. removeCookiesForDomain('domain') -> Array(Titanium.Network.Cookie)\r\ne) webview.getCookies(''domain', 'path', 'name') -> Array(Titanium.Network.Cookie)\r\nf) webview.cookiesForDomain('domain') -> Array(Titanium.Network.Cookie)\r\n\r\nProperty (read-only) -\r\ne) webview.allCookies -> Array(Titanium.Network.Cookie)", "attachment": [], "flagged": false, "summary": "android: implement cookie in webview to have parity", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }