Hi Nader, This works when the app is already running in the foreground.
Bharath Kamath
21

Answering my own question, this has been discussed in RN issue https://github.com/facebook/react-native/issues/11191

Basically we can do a Linking.getInitialURL().then((url) to get the URL when app is relaunched.

Like what you read? Give Bharath Kamath a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.