I want to open only particular endpoints of url in my app and rest in browser.
I have following url endpoints:
/users/sign_in - (should open in app) - working
/users/password/edit - (should open in app) - working
/users/invitation/accept - (should open in browser) - this url opens app but i don't want to open my app for this endpoint
Below is my Manifest.xml
<activity
android:name=".activity.SetNewPasswordActivity"
android:launchMode="singleTask">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="test.host.com"
android:pathPattern="/users/password/edit"
android:scheme="https" />
</intent-filter>
</activity>
<activity
android:name=".activity.ActivitySplash"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="test.host.com"
android:path="/users/sign_in"
android:scheme="https" />
</intent-filter>
</activity>