microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.67k stars 1.73k forks source link

Fix the problem of not being able to bind a PayPal account #2620

Closed DaVinci9196 closed 3 days ago

mar-v-in commented 1 week 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.

DaVinci9196 commented 1 week 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.

mar-v-in commented 1 week ago

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: ef53a37_mSEyeYGtSN-W6qCjq7MLiQ

DaVinci9196 commented 1 week ago

@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. image image