Building app in react-native. When app first loads, its fetches all data correctly and displays correctly. If the app gets moved to the background and the user brings the app back up within 15-30 min and pulls down to refresh, works perfect. If longer than that, the app gets stuck in an infinite loading state.
I'm a novice coder, and wondering if anyone with experience had time to take a peek at my 3 providers that are dependent of each other (Auth Provider -> Roster Provider -> schedule provider) along with the refresh code and can see what might be causing this?
Claud.ai has gotten me really far but can't seem to fix this problem no matter how many different ways i prompt it