Problem
The application keeps restarting repeatedly because it fails to retrieve weather data. The root cause is that OpenWeatherMap is not accessible in my country (blocked/restricted), which causes the weather fetch request to fail continuously, triggering an endless restart loop.
Expected Behavior
The application should either:
1.Handle the weather fetch failure gracefully without causing a restart loop
2.Provide an alternative weather data source
Current Behavior
1.App attempts to fetch weather from OpenWeatherMap
2.Request fails due to regional restrictions
3.App crashes/restarts
4.The cycle repeats indefinitely
Possible Solutions
1.Add support for alternative weather providers (e.g., WeatherAPI, Open-Meteo, AccuWeather, Weatherbit)
2.Add a fallback mechanism when the primary weather source is unavailable
3.Allow users to configure a custom weather API endpoint in settings
Problem
The application keeps restarting repeatedly because it fails to retrieve weather data. The root cause is that OpenWeatherMap is not accessible in my country (blocked/restricted), which causes the weather fetch request to fail continuously, triggering an endless restart loop.
Expected Behavior
The application should either:
1.Handle the weather fetch failure gracefully without causing a restart loop
2.Provide an alternative weather data source
Current Behavior
1.App attempts to fetch weather from OpenWeatherMap
2.Request fails due to regional restrictions
3.App crashes/restarts
4.The cycle repeats indefinitely
Possible Solutions
1.Add support for alternative weather providers (e.g., WeatherAPI, Open-Meteo, AccuWeather, Weatherbit)
2.Add a fallback mechanism when the primary weather source is unavailable
3.Allow users to configure a custom weather API endpoint in settings