Open vegardb opened 3 days ago
My current idea here is to update alerts and forecast every time the following happens:
Seems like this needs to be solved in one of two ways:
I am not sure about the consequences of running jobs in the background on people phones, so I would prefer to start with the option of AppState and useFocusEffect.
Example of how to use AppState in this issue: https://github.com/react-navigation/react-navigation/discussions/11851
How often and how to update forecasts and alerts.