8,564 questions
-3
votes
0
answers
63
views
How to properly structure a React Native (Expo) ride-hailing app with authentication flow and state management? [closed]
I'm building a ride-hailing app (similar to Uber) using React Native with Expo and would like feedback on my project structure and implementation approach.
Tech Stack:
Expo SDK 52 (Expo Router for ...
1
vote
0
answers
50
views
How to remove gaps between the header containers in react navigation?
I'm using expo-router, but the configuration is from react navigation.
When customizing the header with headerLeftContainerStyle, headerRightContainerStyle and headerTitleContainerStyle, I would like ...
1
vote
0
answers
62
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
3
answers
138
views
React Native Deep Linking - Multiple Paths for single screen
I’m trying to handle multiple deep link paths that should open the same screen in my React Navigation setup.
For example, both of these URLs should open the same ChallengesScreen:
mydomain.com/...
0
votes
0
answers
79
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 ...
0
votes
0
answers
40
views
Ionic/React app params from <Link> works in web browser, but the receiving page gets the params as "undefined" in the emulator
In the Ionic/React app, the param passed by page A using component got picked up in page B, but only when running in web browser. In the emulator the param value is "undefined".
But If I ...
1
vote
0
answers
42
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
2
answers
92
views
How to use navigate to move to another page from App.tsx?
I use Centrifugo to deliver push notifications to our app. So far, displaying the message using Toast works fine. Now I want to do something different, something like navigate to a certain page.
Here'...
0
votes
0
answers
60
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:
// ...
1
vote
0
answers
47
views
When using Top Tabs with swipeEnabled: false,the very first tab is still swipeable on first mount. After swiping once, the swipe is locked as expected
Bug Report
When using Top Tabs with swipeEnabled: false, the very first tab is still swipeable on first mount. After swiping once, the swipe is locked as expected.
Code Snippet
<TopTab.Navigator
...
0
votes
1
answer
85
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
49
views
React Native Navigation requires a settimeout
I'm on react-navigation v7.
I have a component which renders a component like below
class Manager extends React.Component {
render () {
return (<DescriptionComp />)
}
...
0
votes
1
answer
81
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 ...
1
vote
0
answers
46
views
React-navigation 7 deeply nested structure navigation
consider following navigation tree in react-native app.
RootStackNavigator (id of navigator = root)
Screen A
Screen B
EditTabNavigator (params: {id: number})
Tab A
Tab B
...
0
votes
1
answer
229
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": "...