New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use in combination with Expo router v3 #21
Comments
Hi @ma10as thanks for reporting. Can you run |
Hi @jankapunkt |
@ma10as I fixed a few things in the library and released |
@jankapunkt I will try to update to |
Hi @jankapunkt i now updatet to And it looks like the useReducer functions runs with the type |
Describe the bug
I have used the Auth logic from this repo for some time now without problems.
Now i try to switch from React Navigation to Expo router v3 (file-based routing), and i ran into a issue.
On first load of the app the app doesn't run the handleOnLogin() function from useAuth. The app is never leaving the isLoading state before being reloaded.
I'm trying to follow this instruction https://docs.expo.dev/router/reference/authentication/#example-authentication-context
app/_layout.jsx
app/(app)/_layout.jsx
useAuth.jsx
What could the problem be?
The text was updated successfully, but these errors were encountered: