8,591 questions
0
votes
0
answers
26
views
Modal presentation not working with dynamic route folder in expo-router (e.g. [search])
I’m using Expo Router with React Native and trying to present a screen as a modal inside a dynamic route folder like [search].
app/
[search]/
_layout.tsx ← nested stack
index.tsx
...
0
votes
1
answer
38
views
Cannot read Property 'StackView' of undefined
I tried to implement react navigation but i faced a lot of errors even though my codes are well structured according to navigation standards. Idk what could possibly my mistake/s that prevented me ...
0
votes
0
answers
22
views
TypeError: Cannot read properties of undefined (reading 'Login-id') rendering Stack.screen on jest
i'm trying to do an integration test. The test in fact is not the issue, the main issue is about rendering the app.
When jest try to render the app, works until it gets to Stack.Screen and crash with ...
0
votes
1
answer
52
views
How to change background color in react-native?
Please look this picture,I use createBottomTabNavigator to creat a Tabs in react-native,and both screens will use the same gradient background,so i add "backgroundColor: 'transparent'" in ...
0
votes
0
answers
15
views
React Navigation error: “Couldn't register the navigator” even with correct NavigationContainer usage (Expo)
React Navigation error: “Couldn't register the navigator” even with correct NavigationContainer usage (Expo)
I'm building a mobile app with React Native (Expo) to manage clinical patients and ...
0
votes
0
answers
17
views
React Navigation 7 Toast with Static Api
I want to have a Toast (view on top of everything else) that is controlled by a contextual state. In order to do this, I add this at the App level of my basic Static Api navigation:
const RootStack = ...
0
votes
1
answer
33
views
Expo-camera error in test flight IOS testing
I've declared a barcode scanner using expo-camera and it seems to work well locally and on android. When testing in test flight on IOS I receive an error when I scan a barcode. I run an api call and ...
0
votes
0
answers
16
views
router.back with dynamic route dismisses entire stack
I have a dynamic route like /pattern/[id] which these items can navigate to related items so only the id changes. I want the Back button to go back, so pattern/3 > pattern/2. However, the back ...
0
votes
0
answers
12
views
React Navigation: initialRouteName in MaterialTopBar not working
When I set the initialRouteName to the second tab, it still renders the first screen on startup, not the second one where I want my home page to be.
what it does right now
how ti should look like
&...
0
votes
0
answers
26
views
react-native-navigation: Why 3-buttons navigation are transparent in Android 15+
On Android 14 3-button navigation has a black background, but on Android 15 is transparent and does not look good. Is it possible something change? I used react-native-safe-area-context in my app, and ...
0
votes
1
answer
28
views
React native - 'Navigation is undefined in splashScreen'
My apologies if this has been asked before, but I can't seem to bypass this error. I have just started coding on my own, so please bear with me.
I am trying to navigate to the SignupScreen from the ...
0
votes
0
answers
32
views
How to properly structure Stack Navigation inside Tabs in Expo Router?
I recently started using Expo Router, and I’m struggling to properly nest Stack Navigation inside a Tab Navigator.
In React Navigation, I used a simple structure like this:
const TabNavigator = ...
0
votes
0
answers
19
views
Why react-native tiptop navigation doesn't work correctly on IOS platform?
I'm currently learning to work with React Native, and I'm a little stuck on the topic of navigation between pages. Specifically, I'm currently figuring out the "Top Tab Navigator". As you ...
0
votes
0
answers
23
views
Strange typescript error on React Navigations popTo function (react-native application)
tl;dr: Although it works in the emulator, typescript gives me a strange error on react navigations nav.popTo function. Please help me figure out how to get rid of the error.
This is my navigation ...
0
votes
0
answers
21
views
App crashes on Android while navigating to the another screen
The screen needs to use camera and loads the machine learning model. I am using "react-native-vision-camera". And similarly load tenserflow.js and react-native-worklets-core.
I expect to ...