com.google.android.gms.plus.PlusOneButton 已弃用
com.google.android.gms.plus.PlusOneButton is deprecated
https://developers.google.com/+/mobile/android/recommend
我注意到 PlusOneButton 现在有一段时间不工作了。我 link 到 Google Play 商店 URL(即 https://play.google.com/store/apps/details?id=com.package.app)。
现在,当我将库版本升级到 "com.google.android.gms:play-services-plus:12.0.0" 或更高版本时,它表明 PlusOneButton 已被弃用。
PlusOneButton 有其他使用方法吗?还是 Google 完全删除 PlusOneButton 功能?
在 Google 中搜索 PlusOneButton 导致 PlusOneButton 站点,这导致
加上 API 弃用说明。
我猜你只需要通过 Intent 或使用 Google Sign-In in your app and explore it's possibilities or use other solutions suggested on People API site.
将你的内容发送到 Google+ 应用程序
顺便说一句。这是根据最新指南实施自定义 Google 登录按钮的库:https://github.com/shobhitpuri/custom-google-signin-button。
https://developers.google.com/+/mobile/android/recommend
我注意到 PlusOneButton 现在有一段时间不工作了。我 link 到 Google Play 商店 URL(即 https://play.google.com/store/apps/details?id=com.package.app)。
现在,当我将库版本升级到 "com.google.android.gms:play-services-plus:12.0.0" 或更高版本时,它表明 PlusOneButton 已被弃用。
PlusOneButton 有其他使用方法吗?还是 Google 完全删除 PlusOneButton 功能?
在 Google 中搜索 PlusOneButton 导致 PlusOneButton 站点,这导致 加上 API 弃用说明。
我猜你只需要通过 Intent 或使用 Google Sign-In in your app and explore it's possibilities or use other solutions suggested on People API site.
将你的内容发送到 Google+ 应用程序顺便说一句。这是根据最新指南实施自定义 Google 登录按钮的库:https://github.com/shobhitpuri/custom-google-signin-button。