Hi Everyone,
I am integrating Google Plus login in Android and using cordova-google-plus-native-sign-in
After adding this into command line
meteor add hedcet:cordova-google-plus-native-sign-in
I have added the following code to my mobile-config.js to
App.configurePlugin('cordova-plugin-googleplus', {
REVERSED_CLIENT_ID: 'com.googleusercontent.apps.--------------------------------------------'
});
and here is the code for authentication with Google
window.plugins.googleplus.login({
offline: true,
webClientId: '-------------------------------.apps.googleusercontent.com',
},
function(response) {
request.email = response.email;
request.idToken = response.idToken;
request.userId = response.userId;
},
function(error) {
if (callback && (typeof callback == "function")) {
callback(error);
}
});
‘googleplus’ is not defined,
Error in Detail:
Uncaught TypeError: Cannot read property 'googleplus' of undefined", source: http://localhost:12240/app/app.js?hash=c41a5f758e3a9cdfc5ec60f0eb64150065ec031e (3344)
I am stuck in this issue for the last 5 days, I have already posted here but not getting any response from the community. Please Guys, this needs to be solved asap. Please help. It’s very urgent.