Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on iOS #8

Closed
teknologist opened this issue Sep 16, 2015 · 4 comments
Closed

Problem on iOS #8

teknologist opened this issue Sep 16, 2015 · 4 comments

Comments

@teknologist
Copy link

Hi,
I can't make it work on iOS.

After launching Google+ and the consent page, when I click OK, It just doesn return to my meteor app and it stays logged out.

It maybe related to REVERSED_CLIENT_ID which I don't know where to put for the iOS cordova build.

Or the file GoogleService-Info.plist... Do I need to add it somewhere in Xcode ?

Many thanks in advance!

Eric

@teknologist
Copy link
Author

Solved. Adding the plist file to Xcode and adding REVERSE_CLIENT_ID to apps plist

@oskarszoon
Copy link

@teknologist How did you get the plugin added? Meteor is throwing an error when i just add the package:

Failed to install 'cordova-plugin-googleplus':Error: Variable(s) missing: REVERSED_CLIENT_ID

@oskarszoon
Copy link

Nevermind, found it. For future reference you need to add the following to your mobile-config.json

App.configurePlugin('cordova-plugin-googleplus', {
    'REVERSED_CLIENT_ID': 'com.googleusercontent.apps.XXXXXX'
});

Here's the link on how to generate the REVERSED_CLIENT_ID for iOS: https://github.com/EddyVerbruggen/cordova-plugin-googleplus#3-google-api-setup

@jetlej
Copy link

jetlej commented Aug 8, 2017

BTW in 2017 it's mobile-config.js (not .json)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants