android-browser-helper icon indicating copy to clipboard operation
android-browser-helper copied to clipboard

Cookies missing in ChromeCustomTabs and mobile browser

Open Asutosh11 opened this issue 2 years ago • 2 comments

Not exactly a bug but I'm have missing leads, any help would be great. We have one Android application that loads a webpage via ChromeCustomTabs. Inside the webpage 2 things happen sequentially.

  1. We call script A, that sets some cookies on the mobile browser.
  2. We call script B that reads the cookie set by script A. On some Android devices of users, we are seeing that, either script A is not able to set cookies or script B is not able to retrieve already set cookies.

Are you aware of any tools, scripts or settings (except disabling cookies on mobile browsers, which we have tried already) that may lead to such scenarios?

Asutosh11 avatar Jun 09 '22 05:06 Asutosh11

Hey,

Sorry, I don't have any good ideas for you.

Is there any correlation with the devices where this isn't working (default browser, Chrome version, etc)? Otherwise, with the cookies - are they on the same domain? Could the TTL be too short? Could they be too big (they're capped at 4K)?

PEConn avatar Jul 04 '22 10:07 PEConn

Hey, When we use a STABLE_PACKAGE package non whitelisted header is not accepting ("bearer-token")

Can you please help me to resolve.

rahul-kumawat-vts avatar Sep 12 '22 14:09 rahul-kumawat-vts