Overmorrow icon indicating copy to clipboard operation
Overmorrow copied to clipboard

Current location never found

Open nuttintoseehere opened this issue 7 months ago • 16 comments

Android 15 / GrapheneOS without Google Play Services.

Despite having the required permissions, Overmorrow is unable to find my current location.

This is a pretty common issue for some custom ROMs, but on my device this is literally the only location-aware app that won't work. It requests permissions properly, but once granted the app simply searches for the location but never finds it. Android's permission alert (the green dot) does light up, indicating Overmorrow does actually attempt to use GPS.

Other weather apps i have tested and are working: Cirrus, Quickweather, Breeze, and Weather Master. Also navigation apps etc; OsmAnd, Trackbook...

Not sure what's up here. I tried disabling GrapheneOS's exploit protection settings for this app, but still nothing.

nuttintoseehere avatar May 17 '25 12:05 nuttintoseehere

Hi! So first could you verify you are on the latest version (2.4.6)? If you are then could you maybe send a screenshot or a screen recording of the error happening. That will help me understand what's happening, and where it's going wrong. You also mentioned a lot of other weather apps you tried and it worked with. Unfortunately i didn't see any that were developed in the same language as Overmorrow, (flutter) so it doesn't really help much as they use different plugins and services than me. What could help is if you try an app like Rain (also a foss weather app written in flutter). If it works there, than i could compare the location codes and try to figure out what the problem is in mine.

bmaroti9 avatar May 17 '25 16:05 bmaroti9

https://github.com/user-attachments/assets/1130f21a-c536-4f1f-82dd-5ef78810d2ba

Version is 2.4.6.

Attached is a recording of a fresh install of Overmorrow. It asks for location permission, but after allowing it, the location is never found. The search animation is displayed forever.

If the "Rain" app you mean is by darkmoonight/Rain, unfortunately F-Droid doesn't let me install it on this device running Android 15. It's greyed out as incompatible. I do have an older Pixel 5 device, also running GrapheneOS but Android 14, and Rain displays a notification about 32-bit compatibility on it. I suppose that's why it won't install on A15.

In any case, Rain on Pixel 5/Android 14 does install but also will not find my location. So, since apps in other languages work fine but flutter does not, i'm guessing it has something to do with flutter and GrapheneOS? No idea, but i hope this helps in some way at least.

edit: Correction, the notification doesn't seem to be by Rain, but rather the OS.

Image

Probably not relevant to Overmorrow and this issue though.

nuttintoseehere avatar May 17 '25 16:05 nuttintoseehere

Okay, thanks for the detailed answer. If Rain doesn't work either then it is likely a Flutter grapheneOs issue (or more precisely a geolocator and grapheneOs issue, because that's the package that basically all flutter apps use to find the users location). I don't think there's a big chance i can fix this because basically all the work is done by the geolocator package, all i do is basically call it. In the new version i'm working on (v2.5) i have updated the package and did some minor tweaks, so maybe that will fix it, most likely not, but at least it's still worth a shot. You could also try submitting an issue to the geolocator plugin's issues, and ask about grapheneOs compatibility, and tell them that neither flutter app seems to work. Though it does seems to be more focused on devoloper coding issues.

bmaroti9 avatar May 17 '25 18:05 bmaroti9

I opened a ticket over there although i have no idea about the version you use, or have the required code snippets. Already saw one issue with similar symptoms (location request hanging) but not with Graphene.

Thanks, i'll test the new version at some point when it's done, in case it happens to fix this.

nuttintoseehere avatar May 17 '25 18:05 nuttintoseehere

Hi! Just wanted to ask, where did you download the apps from? Google play or github? it might have to do with the foss geolocator override.

bmaroti9 avatar May 20 '25 16:05 bmaroti9

F-Droid.

I tested the Github apk version just now, and Play store version obtained via Aurora. Same issue. I replied in the flutter-geolocator issue that i also tested with another phone (yet another Pixel 5) that had Play Services and Play Store installed, but that didn't make a difference either.

Bummer, but not much to be done about this it seems.

nuttintoseehere avatar May 20 '25 17:05 nuttintoseehere

Hi! So newest version just released with the updated packages. You could check if it maybe fixed it.

bmaroti9 avatar Jun 13 '25 19:06 bmaroti9

Sadly location still not found, but this version shows an error, even if it's a bit uninformative. Occurs on all weather providers:

Image

The issue at the geolocator was closed, apparently i'm the only one with this. Not much to be done about it, but thanks anyway. The app is nice. :)

nuttintoseehere avatar Jun 13 '25 19:06 nuttintoseehere

Ah well, i was expecting it to probably not fix it since all i did was bump the versions but yeah, still a bummer. But it's good to hear that overmorrow isn't the only app with this problem. This error only occurs with the the current location right? also what does it show on the search page current location display? It might be a good idea to improve the informativeness of the error pages though...

bmaroti9 avatar Jun 13 '25 19:06 bmaroti9

Only when trying to find the current location. Manually searching and adding places works fine.

Image

nuttintoseehere avatar Jun 13 '25 19:06 nuttintoseehere

Hi. I have the same bug. Android 15 HyperOS 2 Poco phone. Official rom. Application from F-Droid

vasesm avatar Jun 15 '25 21:06 vasesm

Hi! So yours too just loads forever, and doesn't load anything?

bmaroti9 avatar Jun 17 '25 17:06 bmaroti9

Image Image

vasesm avatar Jun 17 '25 18:06 vasesm

GrapheneOS android 16, latest version. Same thing. Installed via GitHub releases.

englut avatar Jul 22 '25 15:07 englut

Same thing on GrapheneOS android 16, latest version, Pixel 9 pro. Installed via IzzyOnDroid F-Droid Repo.

nbelavic avatar Jul 27 '25 19:07 nbelavic

Stock Android with Google Play Services disabled has the same issue:

https://github.com/user-attachments/assets/6631e40c-34d9-4da8-9f2e-fca93a9f9451

LinuxinaBit avatar Aug 12 '25 22:08 LinuxinaBit