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

97
Views
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
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!