Ionic React: How to open link in the app?

So I have a server and mobile apps. For example when the user forgot the password, then they send a request to the server, the server then sends an email with a hash token for resetting their password.

How to open the link from the email in my mobile app?

If the user does not have my app installed on their device, it should just go to the website link.

For example, I have the client website too, so when the user does not have the app installed, it goes to the client website.

How can I do this?


So it is like this:

server → mobile app installed ? open in mobile app else open in browser

Hi Alvin,

Never tried myself yet, but will have to and it should be possible by using deep links:

Ionic Capacitor deep links:

1 Like