Xamarin.Forms.Webview Crossplatform Geolocation, is it possible?

瘦欲@ 提交于 2019-12-11 06:57:28

问题


I have a xamarin-forms-webview which refers to a webapp that uses geolocation. I know that in Android I need to override the method 'OnGeolocationPermissionsShowPrompt' as suggested here.

But I don't want to make the implementation for each platform. How can I enable the location in the xamarin webview?

I'm currently using this plugin to get de latitude and longitude.

Thanks.

来源:https://stackoverflow.com/questions/38235519/xamarin-forms-webview-crossplatform-geolocation-is-it-possible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!