All Questions
290 questions
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
1
answer
228
views
React Native Crash - Error: Exception in HostFunction: Loss of precision during arithmetic conversion: (long) 13.63636334080342
Hello there,
I’m facing the following error while resetting the navigation to Home after a successful login.
The app crashes as soon as the navigation resets.
I’m able to reproduce the crash on a ...
0
votes
1
answer
24
views
Error trying to assign color when navigating between tabs with react navigation
I am doing navigation between tabs using react navigation, the navigation is done correctly, as well as my custom tabBarLabel classes, but I am encountering a problem and that is that ...
0
votes
0
answers
66
views
Expo-React Native Tab Navigation to reset any parameters on tab press
I want to set it so that whenever a tab is press it takes to the main tab page, and resets any params it has. But currently lets say when i checkout i have a button that will take to that specific ...
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 ...
0
votes
2
answers
535
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 ...
0
votes
0
answers
20
views
Nested navigation typings in react-navigation
I was following the documentation tutorial about using typescript with react-navigation when I encountered some problems.
I have a Tab navigator that consists of Stack navigators, each of which ...
1
vote
1
answer
67
views
How to fix the Type Error ,,TransitionSpec throw type error in React Native Custom Animation of StackNavigator from @react-navigation/Stack
As i am implementing the Custom animation while user navigate through screen i got a type error. in the Stack Navigator section while using available property for custom animation i.e transitionSpec
...
0
votes
0
answers
23
views
Have certain screens still display BottomTabs which might be opened from screens without BottomTabs
My react app has bottom navigation tabs but contains certain screens (ex. chat screen) which takes up the full screen. I would like to have have certain screens that still display the bottom ...
0
votes
0
answers
52
views
How would I access nested routes with a sticky header in React Native Navigation 6?
I'm trying to get nested routes so I can show and hide the categories on my header. I know I can access a route by specifying the header within the stack navigator but its constantly jumping/...
1
vote
1
answer
23
views
Unable to navigate to Quote screen from the SignIn screen using React navigation
I have 2 screens currently and my directory structure looks like this:
/views
/Quote
Quote.js
SignIn.js
App.js
I have defined my App.js which looks like the following:
import { StyleSheet } from '...
1
vote
1
answer
85
views
How to programmatically navigate pages in react-Native v=0.74?
I am new to react native and I have issue for routing pages in react native
solution for routing pages in react native
in login page if user is new so, user clicked on signup button that redirect user ...
0
votes
2
answers
492
views
React native quiting because of CMake and Ninja
I am trying to build an app using react native. Whenever I install React-native-navigation and all its dependencies, I keep getting some errors. This is the latest error I got due to my installation.
...
0
votes
0
answers
151
views
The action 'NAVIGATE' with payload {"name":"Login"} was not handled by any navigator
Here is my codes:
import "./global.css";
import { Provider } from "react-redux";
import { useEffect, useRef, useState } from "react";
import { AppStore, makeStore } from &...
2
votes
1
answer
638
views
Android Bundling failed Unable to resolve "expo-auth-session" from "node_modules\@clerk\clerk-expo\dist\useOAuth.js":
I have error after I add NavigationContainer and that's the error message :
Android Bundling failed 3758ms C:\My Work\React Native\First\node_modules\expo\AppEntry.js (876 modules) Unable to resolve &...