由Google SignIn引起的iOS拒绝。最新的Google SignIn(4.0.0)进入了safari [英] iOS Rejection due to Google SignIn. Latest Google SignIn (4.0.0) goes to safari

查看:248
本文介绍了由Google SignIn引起的iOS拒绝。最新的Google SignIn(4.0.0)进入了safari的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用被Apple拒绝了

our app got rejected by apple for


设计 - 4.0

Design - 4.0

我们注意到,当用Google+登录时,用户被带到Safari登录或注册
一个帐户,这为用户提供了很差的
体验。

We noticed that the user is taken to Safari to sign in or register for an account when logging in with Google+, which provides a poor user experience.

后续步骤

请修改您的应用,以便用户在
中使用Google+登录应用程序。您可以通过更新到最新的Google+ SDK来执行此操作。

Please revise your app to enable users to sign in with Google+ in the app. You can do this by updating to the latest Google+ SDK.

我们建议您实施Safari View Controller API,以在您的应用中显示
网络内容。 Safari View Controller允许显示URL的
并从应用程序中的嵌入式
浏览器检查证书,以便客户可以验证网页URL和SSL
证书以确认他们正在输入他们将凭证
签到合法页面。

We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.

我使用的是pod并拥有最新的Google SignIn库,而不是GooglePlus之一。
图书馆4.0.0(2016年5月15日)发布说明

I am using pod and have the latest Google SignIn library, not a GooglePlus one. The library 4.0.0 (15/05/2016), says on release notes

https://developers.google.com/identity/sign-in/ios/release




从GIDSignIn中删除allowSignInWithBrowser和allowsSignInWithWebView属性

Removes allowsSignInWithBrowser and allowsSignInWithWebView properties from GIDSignIn.

这意味着我无法在iOS上强制它8具有默认的iOS 9行为(在应用程序中打开类似浏览器的Safari)。安装Google App或Google+ App没有任何区别。

That means that I don't have a way to force it on iOS 8 to have the default iOS 9 behavior (Open a safari like browser within the app). Having installed Google App or Google+ App makes no difference.

尝试使用可可豆荚降级到2.4.0,但它说

Tried to downgrade to 2.4.0 using cocoa pods but it says


分析依赖关系[!]无法满足以下
要求:

Analyzing dependencies [!] Unable to satisfy the following requirements:


  • <

  • Google / SignIn(= 2.4.0) Podfile

  • Google/SignIn (= 2.4.0) required by Podfile
  • Google/SignIn (= 2.4.0) required by Podfile

任何想法?
先谢谢

Any ideas? Thanks in front

推荐答案

最后,我设法做了一些修改,并通过降级到GoogleSignIn 3.0.0来获得更改有
allowsSignInWithBrowser和allowsSignInWithWebView属性
我使用的是

Finally I managed to make changes and get it aprooved by downgrading to GoogleSignIn 3.0.0 which has allowsSignInWithBrowser and allowsSignInWithWebView properties Which I make use of with

allowsSignInWithBrowser = NO
allowsSignInWithWebView = YES

必须将pod文件更改为此才能使所有内容都构建(具有google analytics)这也让事情变得非常困难,因为依赖性。)

Had to change the pod file to this in order to make everything build (having google analytics too made the thing so much difficult, cause of dependecies).

希望Google工程师更新SignIn 4.0.0,因为我不喜欢拥有旧库,但我在Google更改库之前,我的应用无法被拒绝

Hope Google Engineers update the SignIn 4.0.0, because I don't like having old libraries, but I can't have my app rejected until Google Changes the libs

pod 'Google/Analytics'

pod 'GoogleSignIn', '3.0.0'
pod 'Google/SignIn'
pod 'Google', '2.0.4'
pod 'GoogleAppUtilities'
pod 'GoogleAuthUtilities'
pod 'GoogleNetworkingUtilities'

祝你们好运,
感谢Paulw11,他做了一个测试项目,看到了iOS8中的同样问题。
也告诉评论者,即使iOS9(不仅仅是iOS8)没有帮助,App Store中的其他(甚至是大型)应用也会使用webview,因为他们说这不是其他应用的原因,而且他们是努力拒绝其他人。

Good luck to you guys too, Thanks Paulw11, he made a test project and saw the same problem in iOS8. also, telling reviewers that other (even big) apps in App Store are usign webview even if iOS9, not only iOS8, did not help, because they said this cannot be a reason for other apps to be, and they are working hard to reject other too.

如果有任何更改,例如新的GoogleSignIn库,请回答新问题!

If Any changes made, for example a new GoogleSignIn library, please make a new answer!

这篇关于由Google SignIn引起的iOS拒绝。最新的Google SignIn(4.0.0)进入了safari的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆