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

90
Views
React Native Deep Link Passes Undefined Parameters

I have implemented deep link navigation with react-navigation (v6) in my RN app, but I am unable to pass the parameters. When I open my app with app://profile/123, my param 123 is passed as undefined in navigation state.

Currently my linking.ts looks like this:

const config = {
  screens: {
    BottomNavigator: {
      screens: {
        ProfileNavigator: {
          screens: {
            ProfileScreen: {
              path: 'profile/:id',
              parse: {
                id: (id) => `${id}`,
              },
              exact: true,
            },
          },
        },
        SearchNavigator: { screens: { SearchScreen: 'search/:id' } },
      },
    },
  },
};

const linking = {
  prefixes: ['whitelabel://app'],
  config,
};

export default linking;

I am trying to pass id to profile screen. The screen is passed correctly and opens the app on the right page, but the id is not passed through and returns undefined.

This is what I get from navigation state when the page opens:

{"index": 0, "key": "stack-jrLYL7iuBFvpeerYqTdcp", "routeNames": ["Profile"], "routes": [{"key": "Profile-lju0Bmsahv4w_wdmRUlMS", "name": "Profile", "params": undefined}], "stale": false, "type": "stack"}
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!