Using create-react-native-app with expo. The app is not ejected.
I use the following event handlers on a componentDidMount() on the entry file of the application.
Linking.addEventListener('url', this.handleEvent) Linking.getInitialURL().then(url => this.handleUrl(url))
The expo URL structure i’m testing in development is - exp://mb-6uw.EXPO_ACCOUNT.PROJECT_NAME.exp.direct/+/QUERY_STRING
The initial URL handler works correctly and the query string can be processed. However the addEventListener call is not being called at all when the app is already open and a deep link is used.
https://docs.expo.io/versions/latest/guides/linking.html - There is no setup requirements in the linking page so the event listener should be working.
Are there any setup requirements or approaches to resolve this issue?