I'm trying to perform deeplinking for my android where in i want a particular activity to open for all the paths of following type:
http://example.com/asdf/asdf/product/someinfo
http://example.com/asdf/product/some
http://example.com/asdf/asdf/asdf/asdf/asdf/product/someinfo
http://example.com/product/some
basically i need a particular activity to open if it has /product/ in the url path( domain).
this is my manifest setup:
<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="@string/deeplink_host"
android:pathPattern="/.*/product/.*"
android:scheme="http"/>
</intent-filter>
But the above link is working only if the url is
http://example.com/product/some
Not for the other type of url's where the url can have multiple info (separated with / ) before /product/
I've tried changing the configurations but in vain..
Can anyone help me through this?