Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

105
Views
El enlace profundo nativo de React no está navegando dentro de la navegación de la pila

Estoy usando la navegación nativa de reacción 5 en mi aplicación. Estoy tratando de agregar enlaces profundos. Creo un archivo para la configuración.

 const config = { screens: { Home: 'home', Profile: { path:"starter/profile/:id", parse: { id: (id) => `${id}` }, }, Notifications: "notifications", Settings: "settings" }, }; const linking = { prefixes: ["yenir://app"], config, }; export default linking;

En Switch Navigator, estoy tratando de navegar por esta pila SwitchNavigator > Starter > Settings

Cambiar de navegador

 render() { const SwitchNavigator= createSwitchNavigator( { // Starter: AdjustTest, Starter:Teststk, // Starter:TstStack, App: AppStack, Auth: LoginStack }, { initialRouteName:'Starter', resetOnBlur:false, backBehavior:null } );

Las pantallas de pila por las que quiero navegar

 const Testst = createStackNavigator(); function Teststk() { return ( <Testst.Navigator> <Testst.Screen name="Home" component={TestStack} /> <Testst.Screen name="Notifications" component={TestStack} /> <Testst.Screen name="Profile" component={TestStack} /> <Testst.Screen name="Settings" component={TestStack} /> </Testst.Navigator> ) }

La URL del enlace en la que el usuario hace clic. test://app/starter/profile/2

No puedo entrar en esta página. ¿Cómo debo cambiar la configuración, el mapa de enrutamiento? Gracias

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!