SecUSo/privacy-friendly-weather

weather app is not starting (calyxos)

Closed this issue · 4 comments

On pixel4a with calyxos 3.3.0 and Android 12.

The app would not start.

Please find the Android report : https://tribu-ml.fr/nextcloud/s/r7M9f5Q2wq9bDbx

Thank you for the report.
It looks like the app is crashing because some of the weather data is not as expected (specifically the rain forecast for the next hour) for a city.
Deleting App data and re-filling should work until you add the problematic city. Maybe the weather data will be back to normal at some point as well.

Nevertheless, this could be prevented by adding a catch in RecycleList>CityWeatherAdapter:~838 to check if the data (rain60min) has sufficient elements for the current index.

Thanks a lot for the information. It works like a charm after the reset.

Hi, I have the same phone / OS combination and the same issue this morning. Thanks for the hint @sleep-yearning, reseting also fixed the app for me 👍

Since there is a workaround, I close the issue.