android - How do I restrict a deeplink intent-filter to a particular pathPrefix? -
i've enabled deep linking on android app , it's working fine. however, want intent-filter listen particular pathprefix i.e. http(s)://(www.)mydomain.com/e , not other pathprefix. possible? i'm attaching 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>
Comments
Post a Comment