I have included a deep link to my Android app and it works great.
However, I want the intent filter to listen on a particular pathPrefix only ie http(s)://(www.)mydomain.com/e , and not any other pathPrefix .
Is it possible? I am attaching my intent filter code in AndroidManifest.xml
<intent-filter android:label="My App Name"> <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="www.domain.com" android:pathPrefix="/e" /> <data android:scheme="http" android:host="mydomain.com" android:pathPrefix="/e" /> <data android:scheme="https" android:host="www.mydomain.com" android:pathPrefix="/e" /> <data android:scheme="https" android:host="mydomain.com" android:pathPrefix="/e" /> </intent-filter>
source share