Purpose: to have cookies in private / incognito mode of web browsing, but they should be deleted after the user closes this tab.
Problem: CookieManager in android is singleton, and setting or deleting cookies for any individual browser instance also affects other webview instances.
What could be a possible way to solve this problem?
Thanks in advance!
source
share