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

Disallowed_useragent to Google OAuth from Cordova on iOS #735

Open
guidouil opened this issue Mar 9, 2017 · 1 comment
Open

Disallowed_useragent to Google OAuth from Cordova on iOS #735

guidouil opened this issue Mar 9, 2017 · 1 comment

Comments

@guidouil
Copy link

guidouil commented Mar 9, 2017

Hello team,
I have an error when trying to connect with google on Cordova.
Apparently now it is not permitted anymore to connect with a webview. It is required to go with native login.
So is it possible just to hide this button for now in a special case Cordova on iOS devices ?
Or did someone succeed in the native login part ? I am stuck and don't know how to start to fix it...
Can someone please throw me a bone here ?
Thanks

@guidouil
Copy link
Author

guidouil commented Mar 9, 2017

Ok quick and dirty fix for now

Template.atForm.onRendered(function () {
  if (Meteor.isCordova && device.platform === 'iOS') {
    $('#at-google').remove();
  }
});

Requires the [email protected]plugin
Now gotta figure the native path...

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

1 participant