useUrl expo-linking hook doesn't work in the background

Please provide the following:

  1. SDK Version: 49.0.6 (expo-linking 5.0.2)
  2. Platforms(Android/iOS/web/all): iOS/Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

The expo-linking package has the useURL hook which according to the official docs “Returns the initial URL followed by any subsequent changes to the URL.” I believe there is a bug with the expo-linking package where in the initial URL event is fired off for useURL but if the app is in the background subsequent events or attempts to deep link after the initial launch do not fire off the useURL hook event. Similar issue that someone else is having: react native - useURL hook expo-linking for background app - Stack Overflow

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.