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

523
Vistas
React Native- Linking.addEventListener works for universal link, but not for a deep link

This is my code:

useEffect(() => {
  Linking.getInitialURL()
    .then(url => {...})
    .catch(err => console.log(err));

  Linking.addEventListener('url', eventHandler);

  return () => {
    Linking.removeEventListener('url', eventHandler);
  };

  }, []);

Everything works perfectly fine for universal links, however, for a deep link, the addEventListener does not work. The app opens up normally but the eventHandler is not being called. However, if the app is closed before opening the deep link, it works fine and executes getInitialURL.

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