Xamarin Forms应用程序使用Google身份验证引发disallowed_useragent错误 [英] Xamarin Forms app throwing disallowed_useragent error with Google Authentication
问题描述
我正在开发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屋!