title: How to share cookie data in chrome custom tabs android
body: <p>We have an android app where we want to open a url.To avoid user re entering user name and password, we want to pass the session cookies. We can use webview inside our app to do this but we want to avoid webviews. </p>
  
  <p>Another solution we found is using chrome custom tabs. As per the documentation <a href="https://developer.chrome.com/multidevice/android/customtabs">https://developer.chrome.com/multidevice/android/customtabs</a> chrome custom tabs supports:</p>
  
  <blockquote>
    <p>Shared Cookie Jar and permissions model so users don't have to log in to sites they are already connected to, or re-grant permissions they have already granted.</p>
  </blockquote>
  
  <p>I am trying the example from <a href="https://github.com/GoogleChrome/custom-tabs-client">https://github.com/GoogleChrome/custom-tabs-client</a> But i am not able to figure out how to pass the session data. </p>
  
  <p>Can anyone help me by pointing to documentation or way to achieve this ?</p>