dapps-browser icon indicating copy to clipboard operation
dapps-browser copied to clipboard

Geolocation doesn't work

Open mlennie opened this issue 7 years ago • 10 comments

Is geolocation implemented in the browser? Currently navigator.permissions.query throws an error. Does it currently work and if not how long until that is implemented?

mlennie avatar May 27 '18 18:05 mlennie

Can you show more details on this? Android or iOS?

vikmeup avatar May 27 '18 20:05 vikmeup

@vikmeup Yes Android. Also when I try navigator.geolocation.getCurrentPosition it returns Position Error with code: 1 and message: "User denied Geolocation". The problem is it never asked me to allow geolocation permission

mlennie avatar May 28 '18 00:05 mlennie

https://stackoverflow.com/questions/33070698/google-maps-v3-in-android-webview-gives-error-user-denied-geolocation https://stackoverflow.com/questions/5329662/android-webview-geolocation/5423026

mlennie avatar May 28 '18 00:05 mlennie

@mlennie work in progress on Android.

I will add support on iOS side in the next few days, I just need to add permissions.

vikmeup avatar May 28 '18 07:05 vikmeup

https://dapps.trustwalletapp.com/ is shown in a blank page.

shippomx avatar Jul 12 '18 23:07 shippomx

@shippomx where do you open it?

vikmeup avatar Jul 12 '18 23:07 vikmeup

@vikmeup is this still an issue ?

kolya182 avatar Feb 08 '19 19:02 kolya182

I think so

vikmeup avatar Feb 08 '19 22:02 vikmeup

I'm having this issue in a WKWebView on macOS now. It might be related.

jhoughjr avatar Feb 17 '19 01:02 jhoughjr

Is this resolved ? Our users on Android devices on chrome have started getting the same error: code: 1 and message: "User denied Geolocation" while calling "navigator.geolocation.getCurrentPosition". The error is observed even when the user has allowed location access to our website https://www.meanstreets.in/ Though it works perfectly if users access from Desktop/Laptop

armishsonkar avatar Apr 27 '20 14:04 armishsonkar