Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12596] Android: Cookie store should be shared between clients

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsexalture, parity
ReporterArthur Evans
AssigneeUnknown
Created2013-02-05T21:14:56.000+0000
Updated2018-02-28T20:03:12.000+0000

Description

"On Android in development mode the cookie store appears to be shared across instances of XHR clients, whereas in production mode it does not. clearCookies in Android works on the cookie store of a client instance." A shared cookie store was actually implemented just before the V8 merge, and apparently part of it got clobbered in the merge. See original PR: https://github.com/appcelerator/titanium_mobile/pull/474 In particular, it appears this line went missing: + client.setCookieStore(TiCookieStore.getInstance());

Comments

  1. Arthur Evans 2013-02-05

    This ticket regarding webview cookies might be related.

JSON Source