cordova-google-login-tutorial
cordova-google-login-tutorial
cordova-google-login-tutorial

cordova plugin googleplus enable google authentication for your cordova (aka phonegap) applications. we can gather user name, email, dob..etc from Google. we can also do silent login with G+.

Advantages:

  • High Conversion Rate
  • No passwords & Signup

Add Plugin

cordova plugin add https://github.com/EddyVerbruggen/cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=reversedclientid

Note: reversed client id without “double quotes”

Cordova plugin googleplus example source code

window.plugins.googleplus.login({
//options if any
},function(result){
 alert(JSON.stringify(result));
},function(error){
 alert(JSON.stringify(error));
});

Read More:

https://github.com/EddyVerbruggen/cordova-plugin-googleplus