Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

98
Vistas
React native deeplinking is not navigating inside stack navigation

I'm using react-native navigation 5 in my app. I'm trying to add deeplinking. I create a file for config

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;

In switch navigator I'm trying to navigate this stack SwitchNavigator > Starter > Settings

Switch navigator

render() {

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

The stack screens I want to navigate

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>
  )
}

The link url user clicks. test://app/starter/profile/2

I can't get inside this page. How should I change the config, the routing map. Thank you

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda