Google+ JavaScript API Login Popup does not return Chrome on iOS

I use the Google+ Javascript API login button and it works fine in Chrome on Windows and Android. It also works great in Safari on iPad and iPhone. However, when using Chrome on an iPad or iPhone, the pop-up tab for logging into Google never returns after clicking to allow access. It seems to send the form to a popup tab and never goes back to the original tab. Any ideas?

+4
source share
1 answer

Google is aware of this issue, but there is currently nothing to be done about it. Do window.opennot work in UIWebview.

Safari App Store, . Apple API WebKit, , , UIWebView.

, , Apple.

Apple -, , , Apple , UIWebView window.open , .

, Apple , .

URL- Apple: https://bugreport.apple.com

Apple, :

: window.open - UIWebView. Facebook/Twitter/etc Chrome iOS,

: 1. , var w = window.open(yourURL, null, null); 2. The page at yourURL should try to access window.opener`, , 3. .

: window.opener.

: window.opener undefined.

: 7.0.4

:

: Chrome ( " > Google Chrome" ): 19.0.1084.60 : iPad 3

.

+2

Source: https://habr.com/ru/post/1525087/


All Articles