Is there a way to launch my Android application (Nativescript) from a link in an email that says "Click here to reset password"?
For example, the email contains a link like this:
When I click on this link from my mobile browser, I want the app to open to the resetPassword component.
I have tried the following code in my AndroidManifest.xml, but it only works for the URL :
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="secsystem.domain.tk" android:path="/v1/resetPassword"></data>
</intent-filter>
I have also added the route in routing.ts like this:
{ path: 'v1/resetPassword/:id', component: ResetPassIdComponent },
However, clicking on the link does not open the specified component. Is there any solution for this?