Google+ API 已于 3 月 7 日关闭,如下所述
https://developers.google.com/+/api-shutdown
这是我在应用程序中使用的代码 fragment ,但该应用程序仍在使用谷歌登录。 另外,我没有收到有关此问题的电子邮件。
callbackManager = CallbackManager.Factory.create();
googleApiClient = new GoogleApiClient.Builder(getActivity())
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this).addApi(Plus.API, Plus.PlusOptions.builder().build())
.addScope(Plus.SCOPE_PLUS_LOGIN).build();
最佳答案
Google Sign-In 提供了一些与用户相关的数据。我不知道 Google+ API 公开了哪些数据,但您可以查看 Google 登录或 Google 身份验证提供的内容。
Start Integrating Google Sign-In into Your Android App .
Google Plus 的停用是通过电子邮件通知用户和开发者的。许多科技新闻博客和网站也对此进行了报道。
关于android - Google+ API 已于 3 月 7 日关闭,需要更新什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55121995/