I am developing a react-native app.
In one of the screens, there is a button, clicking on which, an email is sent to the user and the default email app is opened.
Now, the email contains a link, clicking on which, the user comes back to my app.
How can I know that the user has come back to my app from the email app?
React life-cycle methods like:
componentDidMount
and componentDidUpdate
are not working.