Closed SteveBlum closed 11 months ago
As far as I can tell, this is happening because of Chromium requires Google API Keys to be registered in order for many functions to work: https://www.chromium.org/developers/how-tos/api-keys/ This was news to me.
Reopening as this issue since I could also reproduce this issue on some (not all) of my mobile devices. The possible root-cause for them is a missing SIM card and therefore a missing cell tower connection, however this is not clear. Based on many posts I found online describing the exact same problems for years, I will write a fallback logic based on the public IP address instead. This will be less precise but it will always work.
Describe the bug The default weather frame of circum requests the geolocation of the user. When executed in Chromium (and PWAs), this request fails with the following message:
To Reproduce see above
Expected behavior Geolocation requests should succeed on major browsers (FIrefox, Safari, Chromium-based browsers) as well as PWAs.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Possible solution discussed here: https://stackoverflow.com/questions/41137594/network-location-provider-at-https-www-googleapis-com-returned-error-code