I'm trying to see what my onboarding.tsx looks and it showed once before, but now its not. I want to have it show each time I reload my app, and when I click the "Register / Login" button, it simply goes to the main app with tabs.
I've tried doing that with this, but its still only showing the main app tabs even when I try commenting it out.
// in my app/_layout.tsx
return (
<Stack
screenOptions={{ headerShown: false }}
initialRouteName="(auth)/onboarding"
>
<Stack.Screen name="(auth)/onboarding" />
<Stack.Screen name="(tabs)" /> // <---- Shows even when I comment out, but not onboarding
</Stack>
);
I don't get any errors in my IDE, I've tried npx expo start -c
to clear cache, but its not working.