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

Google Plus Login cordova error #961

Closed
oliverandersencox opened this issue Nov 6, 2018 · 2 comments · Fixed by #1651
Closed

Google Plus Login cordova error #961

oliverandersencox opened this issue Nov 6, 2018 · 2 comments · Fixed by #1651

Comments

@oliverandersencox
Copy link

oliverandersencox commented Nov 6, 2018

#When trying to get Google login working with capacitor I am getting this error:

GooglePlus* gp = (GooglePlus*) [self.viewController pluginObjects][@"GooglePlus"]; No visible @interface for 'CDVViewController' declares the selector 'pluginObjects'

Google plus login works great with firebase within the browser, however after installing cordova google plus package, the app becomes unbuildable with the error above.

Seems to be capacitor causing the issue.

I have added the instructed info to the info.plist - any ideas?

@moberwasserlechner
Copy link
Contributor

You could try https://github.com/moberwasserlechner/capacitor-oauth2.

See the readme for a full google login example.

BR

@jcesarmobile
Copy link
Member

jcesarmobile commented Jun 10, 2019

I've sent a PR with a "fix".
Note that it's quoted because it only allows the project to build, but wherever a plugin uses it, it won't work.
Gladly cordova-plugin-googleplus removed that code in version 6.0.0

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

Successfully merging a pull request may close this issue.

4 participants