How to get Google Plus sign-in working on iOS?

I’ve got accounts-google up and running. This works fine for the web app.
When I push my app to iOS, the build fails. Specifically:

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

And

While adding plugin https://github.com/meteor/cordova-plugin-googleplus.git#blabla to Cordova project:
Error: Variable(s) missing: REVERSED_CLIENT_ID

What needs to be done to make this work?

From here:

iOS

To get your iOS REVERSED_CLIENT_ID, generate a configuration file here. This GoogleService-Info.plist file contains the REVERSED_CLIENT_ID you’ll need during installation. This value is only needed for iOS.

The REVERSED_CLIENT_ID is also known as the “iOS URL Scheme” on the Developer’s Console.

Login on iOS takes the user to a SafariViewController through the Google SDK, instead of the separate Safari browser.

You need generate it here: https://developers.google.com/mobile/add?platform=ios&cntapi=signin

1 Like

Thanks. (And sorry for responding a bit late.)

I got this to work for one platform, though I forget which one, but not for the other. So, I took the easy way out and got rid of Google sign ins. :confused: