Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

180
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda