菜鸟教程小白 发表于 2022-12-11 18:29:18

ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题


                                            <p><p>我正在尝试使用 Ionic 框架在 Android 和 iOS 中实现 Gmail OAuth 登录。
我无法在 iOS 中使用 Gmail OAuth 登录。它在android中运行良好。
它仅在 iOS 中引起问题。
<a href="/image/9yarcm.png" rel="noreferrer noopener nofollow"><img src="/image/9yarcm.png" alt="enter image description here"/></a> </p>

<p>请帮助我在 iOS 的 Ionic 应用中使用 Gmail OAuth 解决此问题。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>Google 不再允许 webview 登录。</p>

<p>最好的方法是使用以下插件:
谷歌:<a href="https://github.com/ionicthemes/google-login-with-ionic-framework" rel="noreferrer noopener nofollow">https://github.com/ionicthemes/google-login-with-ionic-framework</a>
谷歌加:<a href="https://github.com/EddyVerbruggen/cordova-plugin-googleplus" rel="noreferrer noopener nofollow">https://github.com/EddyVerbruggen/cordova-plugin-googleplus</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41440217/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41440217/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - Ionic - 尝试在 IOS 中登录 Gmail Oauth 时出现 disallow_useragent 问题