I am developing an application in which i want sign in using google plus. I have follow the steps from https://developers.google.com/+/mobile/android/sign-in
But
When following the code example at https://developers.google.com/+/mobile/android/sign-in, I got "Empty consent data" as well.
But calling setScopes()
on the PlusClient
instance seemed to solve the problem:
mPlusClient = new PlusClient.Builder(this, this, this)
.setVisibleActivities("http://schemas.google.com/AddActivity")
.setScopes(Scopes.PLUS_LOGIN, Scopes.PLUS_PROFILE)
.build();
Have you set scopes in your code example?