Please provide the following:
- SDK Version: 49.0.6 (expo-linking 5.0.2)
- Platforms(Android/iOS/web/all): iOS/Android
- 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