Expo router does not redirect to index.tsx by default #923
Replies: 1 comment
-
This repo is in maintenance mode and is not actively monitored. Expo Router development has moved to https://github.com/expo/expo If you have a question or are looking for advice on troubleshooting an issue in your application code, you can get help from our community on the forums or on Discord. If you believe this is bug, please create an issue on the main repo https://github.com/expo/expo |
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
-
Hi everyone, I'm having a problem with expo router that I can't resolve, this is my file structure
feelings.tsx
notes.tsx
My goal would be to redirect the user to the page (tabs)/index by default or after logging in, and this works correcty in development with expo-go app, but when i build the app for play store i can't be redirected to index page by default, in fact, after logging in, the splash screen appears and the redirect doesn't happen...
I tried to do a different redirect after login (activity/feelings page) and it works correctly, the problem is that i cannot reach the index page.
I'm using SDK 50 and expo router 3.4.8, this in my sign-in page (only redirect method):
and this is my app/_layout.tsx
and finally this is my app/(tabs)/layout.tsx
Thanks everyone for the help!
Beta Was this translation helpful? Give feedback.
All reactions