Compass icon indicating copy to clipboard operation
Compass copied to clipboard

Keeps "waiting for location" after enabling geographic north

Open LucaReggiannini opened this issue 2 years ago • 8 comments

After enabling geographic North the app asks for geolocation permissions. Even if I grant the permission it keeps waiting for a location update forever

I'm using Lineage for MicroG (Android 13) for POCO F3.

  • OS version: 20-20231001-microG-alioth
  • Build number: lineage_alioth-userdebug 13 TQ3A.230901.001 eng.root.20231001.114356 dev-keys
  • App version is 1.11.4
  • GPS and Bluetooth are enabled
  • I granted permissions for Mozilla Unified Npl Backend (Mozilla location service)
  • tried uninstalling/clearing local data several time

Here is a screen (Italian language): Screenshot_20231024-222729_Bussola

Is there any other information/thing I can do/provide to try debug the problem?

Btw thanks for making the app. I really like it and I consider it the main open source compass app.

LucaReggiannini avatar Oct 24 '23 20:10 LucaReggiannini

Similar to #42

LucaReggiannini avatar Oct 24 '23 20:10 LucaReggiannini

There is a chance that this problem is solved with the latest version 1.12.0. Previously the app only requested your coarse loaction, which gets provided by the network location provider. And it seems this does not work on your system. Now you can allow access to either the fine or the coarse location. The fine location gets provided by the regular GPS provider, which should then hopefully provide a location on your system too.

Kr0oked avatar Nov 05 '23 19:11 Kr0oked

Thanks for the reply. Seems like it's still not working but now i get an extra error message after some times:Location could not be determined. Falling back to magnetic north and a "Reload location" button. If i tap the button, after some times, every loading text just disappears and i need to reopen the app to make it go again. Is there any other test i can do? Just for information: i see the same permission request as before (no difference for fine/coarse location). If there is no other obvious thing to try, i will make some test on the code

LucaReggiannini avatar Nov 06 '23 02:11 LucaReggiannini

If the loading text just disappears then the location was received and the compass shows to true north. So I think it works now. You can compare the degrees shown with true north enabled with the ones when the setting is not enabled, there should be difference of a few degrees then. For more specific investigations you can capture the app logs. That provides the information which location provider was choosen and which location was received. Or you can checkout the code with Android studio for full debugging and logging experience.

Kr0oked avatar Nov 06 '23 17:11 Kr0oked

having this issue as well, version 1.13.0, galaxy s8+ running android pie

0xf0f avatar Dec 30 '23 07:12 0xf0f

Feature Request: Use Approximate Location for True North

Loving the app! Quick request: Can you make the True North feature work with approximate location instead of needing precise location? It would be great for privacy-conscious users.

tEctutoRIt avatar May 24 '24 10:05 tEctutoRIt

@tEctutoRIt I'm glad you like the app. The approximate location should already work. When your system supports this, then you should get asked if you want to grant precise or approximate location to the app. Regards Screenshot_1716668747

Kr0oked avatar May 25 '24 20:05 Kr0oked

Thank you for the quick response!

When I initially allowed approximate location, the app displayed a loading icon similar to the one mentioned in the first comment, which made me think it wasn't working. However, it seems to be working fine now!

Thanks for clarifying.

tEctutoRIt avatar May 26 '24 05:05 tEctutoRIt