sujith3g / meteor-g-plus

Meteor google plus login example using hedcet:cordova-google-plus-native-sign-in
https://atmospherejs.com/hedcet/cordova-google-plus-native-sign-in
9 stars 2 forks source link

Error: Variable(s) missing: REVERSED_CLIENT_ID #15

Open guidouil opened 8 years ago

guidouil commented 8 years ago

Hello Sujith, I'm having this message when building my app

$ meteor build ../builds/. --server=https://app.loya.li --mobile-settings ../_settings/loyali.json
Errors executing Cordova commands:
While adding plugin https://github.com/EddyVerbruggen/cordova-plugin-googleplus.git#3ae99ea5d24619949613b87cdcb01b407199c253 to Cordova project:
Error: Variable(s) missing: REVERSED_CLIENT_ID
...

Well I did search about it and I found that you are suppose to pass it to cordova during the plugin install. cordova plugin add https://github.com/EddyVerbruggen/cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid And this is where I understand why you say I have to put the mobile-config.js file app info. And it is done:

App.info({
  id: 'loya.ly.app',
  name: 'Loyali',
  description: 'Gérez vos cartes de fidélité et vos avoirs',
  author: 'guillaume.darbonne@gmail.com',
  email: 'guillaume.darbonne@gmail.com',
  website: 'http://loya.li',
  version: '1.3.0'
});

(yes I know I have a typo ly vs li in my id but it truly what I registered) What did I forgot to have native up and running please ?

Also do you know if useraccounts package has adopted your native login solution ?

Thanks anyhow.

hedcet commented 8 years ago

@guidouil i found these 2 as quick reference

https://github.com/sujith3g/meteor-cordova-google-plus/issues/8 https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/89