Android Deep Linking with wild card type in paths not working

647 views
Skip to first unread message

Manikanta Garikipati

unread,
May 10, 2018, 12:28:37 PM5/10/18
to android-platform

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?

Reply all
Reply to author
Forward
0 new messages