Rudloff / openvegemap-cordova

OpenVegeMap Cordova app

Home Page:https://play.google.com/store/apps/details?id=pro.rudloff.openvegemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OVM can't locate me by GPS

nicolasmaia opened this issue · comments

When I click on 'Locate me', nothing happens.

I don't think it's a problem on my end because other map apps like Maps.me, StreetComplete and Transportr can find me easily.

Hum, I can't reproduce this.

(Note that currently it only moves the map to where you are but does not display any marker on your position.)

If you are using Android >=6 , can you check if the app has the Location permission enabled?
Do you know how to use logcat? If so, can you check if you get any location-related error?

Oddly, OVM doesn't even ask for the Location permission (Android 7.0). Doesn't move either.

I don't know how to use logcat but I'll take a look at it, thanks.

Just wanted to say it's awesome you released this as it means I can finally break free from HappyCow :)

It definitely should ask for your permission when you first press the Locate me menu item. But it is hard to tell what goes wrong without any logs.

(I recently updated the geolocation library (7e5a08b) so maybe the next release will fix this for you.)

I published a new 0.7.1 release with an updated geolocation library. Can you check if it fixes your issue?

Thanks! So, it doesn't fix it. No difference.

For reference, in the meantime I switched the system from MIUI to LineageOS 14.1 (and now on 15.1). This issue persisted through all those changes. All other apps seem to have location working as intended.

Interestingly, when I open http://openvegemap.netlib.re/ on my phone, it can fetch my location.

Hum, that's quite strange.
Did you try manually granting the geolocation permission to the app? (See Turn permissions on or off here).

I just checked, OpenVegeMap has geolocation permissions. What's weird is that it doesn't even ask to use it.

Then I'm afraid I won't be able to fix this unless you can provide an error message (with logcat).

@picsi Did you have a look at logcat?

Also, what location provider did you enable (GPS, wifi or both)? Can you try with different settings?

I did not, I need some time to learn about logcat and how it works.

I was trying with GPS only. I tried allowing GPS+Wifi but that had no effect.

I had uninstalled it months ago and reinstalled it today.

This problem no longer happens now.