breezy-weather / breezy-weather

A Material Design Weather Application
GNU Lesser General Public License v3.0
5.6k stars 169 forks source link

background "current location" weather update fails when no GNSS reception #1397

Open lmamane opened 4 hours ago

lmamane commented 4 hours ago

Steps to reproduce

  1. On a device where GNSS is the only location provided (no Google/WiFi location provider, no Apple UnifiedNlp bacdkend, no LocalWifiNlpBackend, etc)
  2. configure breezy weather to upgrade current location weather e.g. every 1.5h
  3. give it all permissions to precise locations, etc
  4. take the Android device outside of GNSS reception (e.g. indoors no windows)
  5. Wait the refresh interval

Expected behavior

The weather update should (silently) reuse the last known location and fetch weather for that last known location.

Actual behavior

Weather information is not updated at all, and an error is displayed in notification.

Weather source used

Open-Meteo

Breezy Weather version

5.2.8

Android version

Android 13 - LineageOS

Device

LE2123 lemonadep OnePlus 9 Pro

Other details

Location service used: Android

Acknowledgements

papjul commented 4 hours ago

Weather information is not updated at all, and an error is displayed in notification.

There is an error indeed, but the location is refreshed with last known coordinates. Can you check last refresh time and confirm it didn't refresh?