There is no angularJs wrapper for google+ login ?!

heeey guys,
i have a short question and i hope that you help me and give any idea about that so i’m implementing add of Google+ Login to myIonic App my question is did ndGordova provides a plugin to do that ? i reference to ngCordova oficial docs but i didn’t found that there no angularJs wrapper for this cordova plugin(Google+ Login) .
anyway thanks and sorry about bad english i respect your great work ,sharing knowlegde that’s amazing from amazing people :smiley:

Eddy ist your man:


:smiley:

1 Like

thnks brother but just if ngCordova provides a wrapper or not ?

i think not.

but there is this:

or use the plugin directly

so that’s mean there are two way to do that with this ngCordova wrapper ngCordovaOauth or using plugin directly that’s correct ?!

yepp!

i used the plugin directly in my apps.

1 Like

good i used it it works for me :smiley: thanks very much for your generosity greaat Man :smiley:
yeep i forgot a thing i can’t get the idToken instead of that i got displayName,email,userId and there what i specifie

{
‘scopes’:‘profile’ ‘email’,
‘webClientId’: ‘366393402304-2scg06ut0hf19lfud15h4rbisvtrp9en.apps.googleusercontent.com’,
‘offline’: true,

              }

KNEEL TO ME *insert satanic laugh

no probs, dude

1 Like

yeep sorry i forgot a thing i can’t get the idToken instead of that i got displayName,email,userId and thet’s what i specifie

{
‘scopes’:‘profile’ ‘email’,
‘webClientId’: ‘366393402304-2scg06ut0hf19lfud15h4rbisvtrp9en.apps.googleusercontent.com’,
‘offline’: true,

          }

Ionic Native has Angular 1 Services similar to ngCordova. You can use them as wrappers in your Ionic 1 app.

yes i did that , what about the idToken ? The success callback gets a JSON object with the following contents, displayName, email, userId where is idToken
?