GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

GPS fixes are available to Google Maps but not OSM apps

Open joshikthumati opened this issue 1 year ago • 3 comments

Describe the bug

GPS fixes are available to Google Maps but not OSM apps. I have tested this with multiple apps that rely on OSM (including Organic Maps, OSMAnd, Tower Collector) and also those that rely on Google Maps(Google Maps, a ride sharing app in my country) etc. The former do not work but the latter do. Even microg settings confirms this as only Google Maps is displayed under "Recent access".

Expected behavior A GPS fix apps is expected to be obtained in OSM apps within a few minutes of opening.

System Android Version: 14 Custom ROM: CalyxOS 5.9.1

joshikthumati avatar Jul 10 '24 01:07 joshikthumati

microG should work for these AFAIK, and it does for me in CalyxOS 5.9.0 (you are in that too right? 5.9.1 hasnt released yet)

But it doesn't show them, yeah. That's normal.

I think you should report this to their Gitlab too just in case.

lucasmz-dev avatar Jul 14 '24 15:07 lucasmz-dev

@lucasmz-dev you're right, I'm on CalyxOS 5.9.0.

Update: It works, but takes awfully long(nearly 5 minutes) whereas it is quicker on Google Maps.

joshikthumati avatar Jul 15 '24 21:07 joshikthumati

If you have not already done so, please disable any "Mozilla" switches in the location settings of microG.

By default those are using a service that no longer exists and because it's dead now it can impact GPS usage.

After changing that setting restart the device and go outside with a clear view of the sky and see if you can a better/quicker location fix.

There are also some replacement services for Mozilla out there but their data set is very incomplete so they may not help.

I use Organic Maps (and various other maps apps) with microG devices frequently, and they work fine.

Sapiosenses avatar Jul 19 '24 19:07 Sapiosenses

It seems that all free apps are broken. To me the weather app is not working along with OSM apps

vnghia avatar Dec 30 '24 12:12 vnghia

Have all of you tried with microG Services 0.3.6 and microG Companion 0.3.6?

ale5000-git avatar Dec 30 '24 20:12 ale5000-git

for Calyx, updated APKs will be out on the Calyx Institute repo, you can download them here: https://gitlab.com/CalyxOS/calyx-fdroid-repo-apks/-/tree/main/microg/GmsCore?ref_type=heads

lucasmz-dev avatar Dec 31 '24 04:12 lucasmz-dev

So location in foss apps is working in 0.3.6. I need to get to a place with better GPS signal. The thing confused me is that the recent access in microg only shows apps use FuseLocation API and not GPS location. Is that expected ?

vnghia avatar Dec 31 '24 10:12 vnghia

Yes Apps are still able to use network location without it, check SatStat for example

lucasmz-dev avatar Dec 31 '24 15:12 lucasmz-dev

I guess we can close this issue now.

vnghia avatar Dec 31 '24 15:12 vnghia

So location in foss apps is working in 0.3.6. I need to get to a place with better GPS signal. The thing confused me is that the recent access in microg only shows apps use FuseLocation API and not GPS location. Is that expected ?

Inside microG you only see apps where location pass through microG, if an app only request GPS it will likely NOT pass though microG. But you should still be able to see it in location settings of Android.

ale5000-git avatar Jan 01 '25 14:01 ale5000-git

It should be now fixed, if someone still has problems please say it.

ale5000-git avatar Jan 01 '25 14:01 ale5000-git