Skip to main content

All Questions

2 votes
0 answers
137 views

Couldnt find navigation context while using expo router

I have an expo app that uses expo router with Expo 52. I'm using react query with my custom query client. I also have a route guard. Everything was working perfectly, but once I started to work on my ...
Ash Gharibyan's user avatar
0 votes
0 answers
116 views

How to set first initial route page thats not index file on ReactNative-Expo

Im building a React Native app with Expo and Expo Router and i'm currently having an issue with setting the initial route which is dynamic depending on the current information stored. While the app ...
Marcelo_M's user avatar
0 votes
2 answers
537 views

Expo Router going back on a dynamic route

I am navigatiing from /home to /listing/1 then from there I am navigating to /listing/2, when I go back I expect to go back to /listing/1 but it is going back to /home. Why is that, If it is a dynamic ...
Ash Gharibyan's user avatar
1 vote
0 answers
54 views

Tabs not showing on reaxt native 0.76.2

I am building a react-native 0.76.2 app using expo 52.0.10. I have used v0.76.2 of react-native. the code is really simple but I ran into an issue while following a tutorial online that the Tabs (...
Ahmad Habib's user avatar
  • 2,410
3 votes
3 answers
3k views

Expo Router Link - Type '"/sign-in"' is not assignable to type 'Href<string | object>'.ts

I have an expo project, and setting up a clerk auth. I have followed all the required code clerk gave, and now getting this error on the links. Everything looks okay to me, but I cant figure out how ...
Ash Gharibyan's user avatar
0 votes
1 answer
78 views

Expo Router Crushing the app when navigating on iOS

I am trying to navigate to the profile from the verify screen upon complete authentication using the following code: const verify = async ()=>{ ..... if (completeSignUp.status === "...
crispengari's user avatar
  • 9,393
0 votes
1 answer
186 views

Navigation not working using expo-router on iOS

I have an _layout.tsx file that looks as follows: const RootLayout = () => { const router = useRouter(); const { user, isLoaded, isSignedIn } = useUser(); const { os } = usePlatform(); ...
crispengari's user avatar
  • 9,393
2 votes
1 answer
5k views

How to override react native - expo router header?

In my react native app I am using expo router to navigate between screens. And I am struggling to override the header. Can somebody refer me to the doc if possible, as expo.dev doesn't have enough ...
Evilguy's user avatar
  • 366
1 vote
0 answers
83 views

Failing to get the data from one screen to another - expo router

Im trying to push data into a modal screen when i press on an image but im failing to get the data neede here is the code : app/(drawer)/Exercices/index.js: const Exercice = () => { return ( &...
Mohamed Ali Abid's user avatar
4 votes
1 answer
648 views

How to stop displaying New file as an menu list in expo router?

I am working on expo router trying to develop android application. During development I Observe that if I am creating any new file it is showing in menu, like if I am using tab navigation using expo ...
msrajwat298's user avatar
0 votes
1 answer
285 views

How to convert a existing react native navigation app to expo router app?

I'm new in expo router (and react native in general) need to know how to convert a existing react native navigation app to expo router app (I got this task for a existing app that is 1 year old using ...
Razz's user avatar
  • 21
4 votes
2 answers
11k views

How to correctly set the initial route for nested tabs using Expo Router in React Native?

I'm building a React Native application using Expo with Expo Router for navigation and I'm encountering an issue with setting the initial tab when the app starts. Despite configuring the initial route ...
Faisal Shaikh's user avatar
1 vote
0 answers
79 views

React Native Expo (SDK 49) with TypeScript: Encountering `AbortError: Aborted`

I'm developing a React Native application using Expo SDK 49 and TypeScript. My application includes an authentication flow where I use a state variable user to manage the user's authentication status ...
CodeNKoffee's user avatar
0 votes
2 answers
5k views

useLocalSearchParams not working in expo-router

I have the following React Native component with a router from expo-router: <TouchableOpacity onPress={() => router.push({ pathname: `//${category}/${type}`})} activeOpacity={0.7} &...
Alexander Bogdanov's user avatar
5 votes
0 answers
899 views

How to nest Stack Navigation into Tab Navigation in Expo Router V2?

when I start the app my navigation tab appears at the bottom. A stack navigation should appear on one of the screens linked there (settings page). However, the tab navigation should be retained. How ...
Rene Kutter's user avatar

15 30 50 per page