Maverick7
Maverick7

Reputation: 1097

Disable cookies and clear cache in Chrome Custom Tabs

I am using Chrome Custom Tabs to redirect users to a link of an 3rd party site. But, I want the cookies to be disabled and cache cleared in the resultant chrome custom tab (just like if the link would have opened in the incognito mode of google chrome). I have searched through the documentation , but could not find a way to achieve this. Kindly help

Upvotes: 18

Views: 3571

Answers (1)

Bernhard Bauer
Bernhard Bauer

Reputation: 151

Chrome Custom Tabs share cookies with regular Chrome by design. If you don't want cookies to be shared and/or want to have control over the cache, consider using a WebView, which runs in your own process and doesn't share any data with Chrome.

Upvotes: 1

Related Questions