Link to home
Start Free TrialLog in
Avatar of websss
websssFlag for Kenya

asked on

Location Issue on WebView Xamarin Forms 3.1

-I am trying to get current Location on  web app loaded on xamarin. Forms  3.0+ WebView,i cant get it working
and i have tried several ways for doing it based on the suggestions provided below

https://stackoverflow.com/questions/44629197/show-prompt-to-know-the-location 

 Location Issue on WebView Xamarin Forms  3.1

https://stackoverflow.com/questions/42304287/xamarin-forms-webview-geolocation-issue

*-Initially i used to get below message on logs after locaction Prompt popup
" Caught security exception while registering for location updates from the system. The application does not have sufficient geolocation permissions.
11-23 14:58:34.827 E/cr_LocationProvider(26982): newErrorAvailable application does not have sufficient geolocation permissions."*
and i solved by requesting location permission on popup prompt.

-I even went ahead and requested permission whenever there was location prompt.

-I also tried to access location before opening the WebView itself
Avatar of websss
websss
Flag of Kenya image

ASKER

I recreated the signed apk from above and tested on several devices and it worked on android 8 and above,what might be the reason not working on 8 and below?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.