In Play Services 6.1.71, I used:
mPlusClient = new PlusClient.Builder(this,this,this).setActions("http://schemas.google.com/AddActivity", "http://schemas.google.com/BuyActivity").setScopes(Scopes.PLUS_LOGIN, Scopes.PROFILE).build();
But in Google Play Services 6.5.87, Google suggests changing PlusClient to GoogleApiClient.Builder instead. But I canβt get the user information as before:
mPlusClient.getAccountName()
or
mPlusClient.getCurrentPerson()
How can I get user information? I think the Google documentation is out of date. I hope you help me. Thanks.
source share