Replies: 1 comment
-
Hey, I am facing the same problem. Have you resolved it? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I followed the auth example from the documentation and when hooking up a server it displays the sign in screen while the token is being validated in the backend
I tried using
SplashScreen
so it waits before showing anything but that breaks the app.Here's a video of what I mean:
CleanShot.2023-02-09.at.18.25.09.mp4
if I use
SplashScreen
in myapp/_layout.tsx
it breaks the app:here's an example repo with minimum code: https://github.com/vcapretz/expo-router-auth
essentially I would want something in place while https://github.com/vcapretz/expo-router-auth/blob/ff56ebd91181c35919ca5188ed31722807287dd2/components/auth-provider.tsx#L59 this doesn't resolve
Beta Was this translation helpful? Give feedback.
All reactions