Replies: 2 comments 3 replies
-
So you obviously can't refresh your session when the user is offline. Do you want to something like caching data locally and let the user still see cached content? |
Beta Was this translation helpful? Give feedback.
-
Yes, I have a local copy of the user data which will process any changes when the internet is available again. It works great until the session tries to refresh after a cold start which results in the client failing with the Doing that feels a little gross so I was wondering if you had any ideas 😄 |
Beta Was this translation helpful? Give feedback.
-
Is there a best practice for handling token refresh when the user is offline. I want to allow access to the app in this case using PowerSync or similar, it seems like when the device is offline and the token is expired the user will not be retrieved. Should this be possible?
Beta Was this translation helpful? Give feedback.
All reactions