onAuthStateChange when offline not returning INITIAL_SESSION event

I am using supbase in a react native app following all the directions as per the docs. It generally works very well, logs in, resumes sessions when the app reopens, etc. However - if a logged in user has closed the app and is inactive for a while, and then tries opens the app when offline, it seems that the app is not preserving their logged in state. When they go back online and open the app it restores their logged in state. Is there some way I can resolve this? I am exclusively using onAuthStateChange to handle the auth state.
Was this page helpful?