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

178
Views
How to add parameters to Firebase dynamic links in react native?

I am trying to create a functionality where a user can share deep links from my app. But for some reason, I am unable to pass dynamic parameters to my deep link. On my listener code, i am not getting the link that I passed in the build link but I am getting the link that is stored in my firebase console deep link URL.

Code while building link

const link = await dynamicLinks().buildShortLink({
    link: 'https://astro.page.link/Profile?type='+type,
    // domainUriPrefix is created in your Firebase console
    domainUriPrefix: 'https://astro.page.link',
    // optional setup which updates Firebase analytics campaign
    // "banner". This also needs setting up before hand
    navigation:{

    },
    analytics: {
      campaign: 'banner',
    },
  });

Code while listening for link

dynamicLinks()
.getInitialLink()
.then(link => {
  
    console.log(link);
    alert(link.url);
});

What am I doing wrong? Thanks in advance.

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!