I am trying to send a reset-password link to users email when they click forgot password in react-native app. The email is sent from Strapi using email template and includes the following code:
<p>click to reset password</p>
<a href="app://ResetPassword/<%= TOKEN %>">Reset password</a>
The problem is that the link is not clickable in the email apps on either android nor ios. It just shows as text. However, when inspecting, the code in the email looks like:
<p>click to reset password</p>
<a href=3D"app://ResetPassword/sometokenthatislong">Reset password</a>
Is the problem the href url or is it a problem within the email providers that they don't support that kind of url?
CodePudding user response:
This is a duplicate question and the solution is that "deep-links" are not widely supported in email providers. The solution is to use redirect using a normal link. For further reading see: