Cordova Google Plus native SignIn in MeteorJS
This is a meteor package for native SignIn with Google Plus in Meteor-Cordova Android/IOS Apps. This package using cordova-plugin-googleplus Cordova Plugin.
// mobile-config.js
App.info({
author: "Linto Cheeran",
description: "Torrent Search & Alert",
email: "linto.cet@gmail.com",
id: "online.linto.torrent", // console.developers.google.com > oAuth2 ClientID > ClientID For Android > package-name
name: "Torrent Alert",
website: "https://github.com/HedCET/Torrent-Alert",
version: "0.0.1",
});
// clientSide
if (Meteor.isCordova) {
Meteor.cordova_g_plus({
cordova_g_plus: true,
profile: ["email", "email_verified", "family_name", "gender", "given_name", "locale", "picture"],
webClientId: '*.apps.googleusercontent.com',
}, function(error) {
if (error) {
alert(error);
}
});
}
For documentation with examples Here.