How to clear cookies in chrome custom tab of an android application

I have been trying to clear cookies in chrome custom tab opening in android, i was able to get it in webview as cookiemanager was the one responsible for sharing the cookies but not through chrome custom tab.

Please help!