How to share cookie data in chrome custom tabs android

后端 未结 2 435
夕颜
夕颜 2020-12-31 06:58

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 t

相关标签:
2条回答
  • 2020-12-31 07:32

    This feature appears to be something the Chromium team wanted to do, but hasn't implemented yet. Here is the bug-report/feature-request that suggests a possible workaround.

    0 讨论(0)
  • 2020-12-31 07:37

    The shared cookie jar means that the Custom Tab shares the cookie jar with Chrome. As of today, it is not possible to set a cookie from the application inside a Custom Tab.

    On the other hand, you may want to check Smart Lock for Passwords, which enables automatic sign-in across applications and websites (and will work inside a Custom Tab)

    0 讨论(0)
提交回复
热议问题