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

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