Issue with cache on custom chrome tab: Amazon pay

217 Views Asked by At

I am implementing amazon pay on android using web URL and facing this issue.

I am using custom chrome tab and after one payment it start showing error "Please enable cookies to continue"

I have tried to resolve this by using

  • CookieManager [Usauly for Webview]
  • TrustedWebActivity

enter image description here

1

There are 1 best solutions below

1
cargo_run On

From the screenshot, it appears that the page is getting opened in a Chrome webview and not the Chrom Custom Tab. AmazonPay for Native Android will not work on Chrome webviews.

Pls check the code once.