Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.google.android.gms.plus.PlusOneButton is deprecated

https://developers.google.com/+/mobile/android/recommend

I noticed PlusOneButton was not working for some time now. I had it to link to the Google Play store URL (i.e. https://play.google.com/store/apps/details?id=com.package.app).

Now that when I upgrade the library version to "com.google.android.gms:play-services-plus:12.0.0" or higher, it indicates PlusOneButton is deprecated.

Is there another way to use PlusOneButton? Or is Google removing the PlusOneButton feature entirely?

like image 394
jclova Avatar asked Apr 04 '18 15:04

jclova


1 Answers

Searching for PlusOneButton in Google led to PlusOneButton site, which lead to Plus API Deprecation Notes.

I guess you just have to send your content to Google+ app through Intent or use Google Sign-In in your app and explore it's possibilities or use other solutions suggested on People API site.

Btw. here's the library to implement custom Google Sign in button: https://github.com/shobhitpuri/custom-google-signin-button according to newest guidelines.

like image 146
R. Zagórski Avatar answered Oct 08 '22 12:10

R. Zagórski