8,571 questions
1
vote
0
answers
55
views
TextInput padding/scroll state persists after navigation or note change (dynamic padding not resetting)
I’m building a note-taking app in React Native (see code below) where each note’s content is displayed in a multiline, non-editable TextInput. The paddingTop of the TextInput is dynamically set based ...
0
votes
0
answers
56
views
Detect device Border Radius in React-Native
I have noticed that many modern React-Native apps have a border radius for some of their screens (only noticeable when navigating). I am using react-navigation/native and know that I can set the ...
1
vote
0
answers
37
views
Navigation issue missing or incorrect back button behavior
I’m running into an issue with navigation, while using backBehavior="fullHistory".
Navigation tree
- (tabs)
|- agenda
| `- appointment
`- clients
`- client
Flow:
(tabs) ➡️ ...
0
votes
0
answers
51
views
React Native Android App Crashes with OutOfMemoryError – Infinite Navigation Loop in Sentry Logs
React native 0.76.6 (old architecture)
React Navigation v7
My React Native app crashes on Android with java.lang.OutOfMemoryError, but works fine on iOS. Sentry logs reveal a breadcrumb loop like:
// ...
0
votes
1
answer
62
views
Can I pass boolean values through search params using Expo Router's useLocalSearchParams?
I'm trying to pass a boolean flag when navigating between screens with Expo Router and read it with useLocalSearchParams, but the value I receive is a string (e.g. "true" / "false")...
0
votes
1
answer
73
views
Screen not routing to main page when state changed from different function
I am doing auth for my React Native app.
I have two methods for now, one is email and other is Google sign in.
I am managing the auth using a context provider passed to the root layout file.
The page ...
0
votes
1
answer
192
views
Couldn't get the navigation state. Is your component inside a navigator? "@react-navigation/native": "^7.1.6"
I have been using "@react-navigation/native": "^6.0.2" and the app worked well, after then I decided to update all dependencies and use "@react-navigation/native": "...
0
votes
1
answer
249
views
How to configure Universal Links with Expo and React navigation?
Introduction
I have a strong requirement to use React Navigation and Expo together because we have too much tech debt to switch to expo router at this moment.
However, I feel like I am going crazy! I ...
4
votes
2
answers
1k
views
_reactNative.BackHandler.removeEventListener is not a function (it is undefined)
_reactNative.BackHandler.removeEventListener is not a function (it is undefined), getting this error while navigating to home-screen in React react-native expo.
In app, there is nested navigators in ...
0
votes
0
answers
41
views
How to reset the MaterialTopTabs nested stack when switching between tabs?
I am using MaterialTopTabs as my navigator in my expo project. here is my directory structure:
Within the browse route group, I am using a stack navigator. I want, when I switch to the home (index) ...
0
votes
1
answer
166
views
Expo - Getting Error - Screen Name not Handled by Navigator
New to expo and trying to get my application to navigate to the home page in a [rotected folder (tabs). I am getting the error: The action 'REPLACE' with payload {"name":"(tabs)",&...
0
votes
1
answer
62
views
How to include parent screen in stack history when navigating to nested screen in React Navigation?
I'm using a Bottom Tab Navigator with nested Stack Navigators for sections like "Home" and "Documents". Everything works fine in general.
**Navigation structure: **
TabNavigator
---...
0
votes
1
answer
339
views
How to keep navigation state isolated per tab in Expo Router?
I’m building a React Native app using Expo Router with a tab-based layout (for example: Feed, Search, Home).
What I want is for each tab to have its own independent stack/history, so that when you ...
0
votes
1
answer
99
views
Color bug in react native navigation on ios
When I sent my app to Apple for Review before going into production, they found an issue with the navigation colors. On IOS, it gets darker, I don't know why. The tricky thing here is that in Expo Go ...
0
votes
1
answer
64
views
How do I trigger modal screen from bottom bar in react native?
I have a React Native app and I'm trying to figure out how to create a bottom bar that I can trigger a modal screen from? (like the 'New Reminder' and 'Add List' buttons in the bottom bar of the ...
1
vote
0
answers
41
views
How can I have the initial route inside a stack nested inside of a tabs navigator
I have a navigator layout of a root Stack/Slot (I tried both), which nests directly a tabs navigator ((tabs)/_layout). The index folder inside the tabs itself is again a Stack navigator:
.
├── _layout....
0
votes
3
answers
3k
views
How to configure react-navigation to work with Android edge-to-edge after Expo SDK 53?
Android & Expo Go was working fine for me until Expo SDK 53 using @react-navigation/native.
As of SDK 53, Navigation is now working edge-to-edge, and that was not the way before, and I need to re-...
0
votes
0
answers
17
views
How to resolve the following react native issue as createAppContainer, createSwitchNavigator no longer exist
import { createAppContainer, createSwitchNavigator } from "@react-navigation/native"; // What needs to be used as this no longer supported.
import { createStackNavigator } from "@...
0
votes
1
answer
174
views
Expo onboarding screen navigation problem
Problem:
My React Native app with Expo Router consistently shows the index screen, even when the conditions should display the onboarding screen. I've verified that:
The storage check correctly ...
0
votes
1
answer
128
views
How to minimize frame drops during navigation in react native apps?
I am building a expo react app, and i am testing its performance on a release build, for the most part my app is pretty stable with acceptable frame rates of 56-60fps on both ui and js threads, the ...
0
votes
0
answers
321
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
0
answers
30
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
0
answers
62
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
44
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
148
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 ...