OGeek|极客世界-中国程序员成长平台

标题: ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 18:29
标题: ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题

我正在尝试使用 Ionic 框架在 Android 和 iOS 中实现 Gmail OAuth 登录。 我无法在 iOS 中使用 Gmail OAuth 登录。它在android中运行良好。 它仅在 iOS 中引起问题。 enter image description here

请帮助我在 iOS 的 Ionic 应用中使用 Gmail OAuth 解决此问题。



Best Answer-推荐答案


Google 不再允许 webview 登录。

最好的方法是使用以下插件: 谷歌:https://github.com/ionicthemes/google-login-with-ionic-framework 谷歌加:https://github.com/EddyVerbruggen/cordova-plugin-googleplus

关于ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41440217/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4