要求是在iOS应用程序中实现使用Google Plus登录。我要问一封电子邮件,名字,姓氏,个人资料图片。
我发现有Google Sign In和Google Plus Sign In。但我应该使用哪一个?我还找到了migration guide from Google+ to Google Sign In。但我没有看到任何关于我是否应该使用其中一个的建议,以及人们是否应该迁移到Google登录。
请帮我做决定。感谢
答案 0 :(得分:3)
我建议使用Google登录https://developers.google.com/identity/sign-in/ios/
您可以将它用于使用不同范围。在你的情况下,我会使用
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile"
Google Plus登录需要Google+帐户,而不仅仅是Google帐户。