EddyVerbruggen / cordova-plugin-googleplus

:heavy_plus_sign: Cordova plugin to login with Google Sign-In on iOS and Android
566 stars 626 forks source link

cordova google plus plugin not getting full detail except email? #146

Open grafezia opened 9 years ago

grafezia commented 9 years ago

The problem is that this plugin must show all data, but only show email???????? Can you please help ?

window.plugins.googleplus.login({}, function (user_data) {}, function (msg) {}); OR window.plugins.googleplus.login({'offline':true},function (user_data) {}, function (msg) { });

not working

evangilo commented 9 years ago

https://developers.google.com/identity/sign-in/android/start?configured

ChristopheDaVinci commented 9 years ago

https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/123 Seems like a duplicate to me

mayurloved commented 8 years ago

Hi, I am Having Same Issue. It works fine in iOS but in Android it return only Email.

Can you Please help me.

Thanks in Advance.

steffigratias commented 8 years ago

Hello guys,

screenshot-console developers google com 2016-01-09 18-25-59

The above screenshot appears when you create a project -> Enable Google API -> Go to credentials -> Select the radio button user data

Complete the process & you will get all the userdata.

mayurloved commented 8 years ago

Hello,

Thanks for replay.

But when i tried to build signed Apk then all info working but when i run from android studio then it only give Email.

ghost commented 8 years ago

@All - If you get only email obj then you need to make sure your SHA fingerprint in local app keystore matches with one added to https://console.developers.google.com (Credentials). If it is different you will only get email in (obj).

jorgejeferson commented 8 years ago

Had the same problem, my solution was: Google API >> G+ API >> Enable

cesar-moya commented 8 years ago

Hi, i see many people with the issue of only email is being retrieved, this is fixed - as appplumbr mentions - by making sure that both the package name AND the SHA1 are properly set on https://console.developers.google.com. go to API Manager->Credentials and update your API info. you can retrieve your package name from your config.xml file and/or your androidmanifest.xml file.

image