OGeek|极客世界-中国程序员成长平台

标题: ios - 使用 Google Drive 登录未获得授权 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 19:27
标题: ios - 使用 Google Drive 登录未获得授权

我指的是链接

https://developers.google.com/drive/v3/web/quickstart/ios#step_1_turn_on_the_api_name

使用我的应用程序验证 google drive。我可以使用 pod 'Google/SignIn' 与 google 进行签名,但不能使用

pod 'GoogleAPIClientForREST/Drive', '~> 1.1.1'
pod 'GTMOAuth2', '~> 1.1.4'

如链接所示。我还可以看到上面的谷歌链接说 最后更新于 2017 年 3 月 9 日。 enter image description here

似乎这段代码现在没有被使用,但谷歌文档没有更新。如果我错了,请纠正我。



Best Answer-推荐答案


嗯.. Google 一定没有更新文档。

虽然,他们有 announced不再支持来自嵌入式浏览器的身份验证,以提高应用的可用性。

In the coming months, we will no longer allow OAuth requests to Google in embedded browsers known as “web-views”,

关于ios - 使用 Google Drive 登录未获得授权,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43291651/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4