Xamarin Forms应用程序使用Google身份验证引发disallowed_useragent错误 [英] Xamarin Forms app throwing disallowed_useragent error with Google Authentication

查看:224
本文介绍了Xamarin Forms应用程序使用Google身份验证引发disallowed_useragent错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Xamarin Forms PCL应用程序,其中我试图将Google身份验证与Xamarin.Auth组件集成在一起.但是很遗憾,在尝试通过Google进行身份验证时,出现 disallowed_useragent 错误.通过Facebook和其他社交媒体身份验证,一切都可以正常工作.

I am developing Xamarin Forms PCL app in which I am trying to integrate Google Authentication with Xamarin.Auth component. But unfortunately I am getting disallowed_useragent error while trying to authenticate with Google. Everything is working fine with Facebook and other Social Media authentication.

任何帮助对我来说都是很好的.

Any help would great for me to go ahead.

推荐答案

disallowed_useragent表示(很可能)应用程序使用的是自2017年4月20日起禁止使用的嵌入式WebView.

disallowed_useragent means (most likely) app is using embedded WebViews which are forbidden since 2017-04-20.

Xamarin.Auth自2017-03-2x nuget版本v.1.4.x开始支持CustomTabs和SafariView控制器. 1.5.0版集成了Forms支持.

Xamarin.Auth supports CustomTabs and SafariView controller since 2017-03-2x nuget version v.1.4.x. Version 1.5.0 has Forms support integrated.

这篇关于Xamarin Forms应用程序使用Google身份验证引发disallowed_useragent错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆