Closed DaVinci9196 closed 3 days ago
Using
CustomTabsIntent
means moving authentication tokens and cookies into the current browser, meaning you sign in the browser into a Google account even if the user doesn't want that.
Yes, but during use, I found that when I jump to the web page to add a payment method and view other content, an error page will be displayed.
You mean you can't add a PayPal account inside the WebView? There is a pending TODO in WebViewHelper to redirect some navigations to the browser, I guess that's what needs to be implemented correctly. It even shows a message shortly before the PayPal screen hinting that it should open an external browser:
@mar-v-in I tried to click Add PayPal in the webview and then jump to the browser for subsequent operations, but when I clicked Return to the merchant (an error pop-up window appeared with account restriction), I could not return to the page before the jump (the page in the screenshot above).
Below is the normal process after using CustomTabsIntent. They have data interaction and cannot be separated.
Using
CustomTabsIntent
means moving authentication tokens and cookies into the current browser, meaning you sign in the browser into a Google account even if the user doesn't want that.