且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google Plus使用UIWebView登录iOS

更新时间:2023-12-01 16:09:28

更新



Google已发布支持WebView登录的新 iOS SDK ,以及其他几项更新和功能。 (感谢John Hjelmstad和Co为此工作)

Update

Google has released a new iOS SDK that does supports WebView Sign In, among several other updates and features. (Thanks to John Hjelmstad and Co for working on this)

我强烈反对使用过时的GTMAuth2Controller。如果您真的需要此功能,请将您的声音添加到官方谷歌主题。我们添加的声音越多,Google推出此功能的可能性就越大。目前,苹果公司拒绝所有强制用户从Safari迁移到您的应用程序以进行Google+登录的应用程序。尽管Apple知道Googles SDK就是这样做的(不要忘记Facebook做同样的事情,但不会让你的应用被拒绝)。

I recommend strongly against using the outdated GTMAuth2Controller. If you really want this feature please add your voice to the official Google thread. The more voices we add there the higher the chance that Google will introduce this feature. Currently Apple are rejecting all Apps that force the user to flip flop from Safari to your App for Google+ Sign In. Even though Apple are aware that this is how Googles SDK does this (Nevermind the fact that Facebook does the same but won't get your app rejected).

它的小小和蹩脚但不幸的是我们所能做的就是呼吁谷歌增加对此的支持。

Its petty and lame but unfortunately all we can do is appeal to Google to add support for this.

以下是谷歌对此问题的看法(我也***使用他们过时的控制器)

Here's what Google had to say about this issue (I also protested the use of their outdated controller)


大家好 - 在谷歌,我们的目标是尽可能多的
用户和开发者使用我们的服务。我们已经听到了很少有关于这种类型问题的
报告,但那些应用程序开发人员似乎已经通过Apple的
标准流程获得了b $ b的最终批准。

Hi all -- at Google, we aim to make our services available to as many users and developers as possible. We have heard a very small number of reports of problems of this type, but those app developers appear to have eventually gotten approval to launch by working through Apple’s standard process.

与此同时,我们将继续致力于改进登录机制。 I
确实同意Daniel不建议直接使用GTMOauth2ViewControllerTouch,
或等效的UIWebView技巧。 2014年10月16日

Meantime, we're continuing to work on improved mechanisms for login. I do agree with Daniel that direct use of GTMOauth2ViewControllerTouch, or the equivalent UIWebView trickery, is not recommended. Oct 16, 2014