Android - Add deep link for my website home page -


i implemented before many deep links website pages in android app, product page, category page, , okay.

<activity         android:name=".activities.categoryactivity"         android:screenorientation="portrait">         <intent-filter>             <action android:name="android.intent.action.view" />             <data                 android:host="www.mywebsite.com"                 android:pathprefix="/category/"                 android:scheme="http" />             <category android:name="android.intent.category.default" />             <category android:name="android.intent.category.browsable" />         </intent-filter> </activity> 

but want add deep link website home page in android app , tried many things this:

<activity         android:name=".activities.homeactivity"         android:screenorientation="portrait">         <intent-filter>             <action android:name="android.intent.action.view" />             <category android:name="android.intent.category.default" />             <category android:name="android.intent.category.browsable" />             <data                 android:host="www.mywebsite.com"                 // android:path="" // (1) not working                 // android:pathpattern="{0,1}" // (2) not working                 // android:path="/" // (3) work                 // (4) removed path , worked.                 android:scheme="http" />         </intent-filter> </activity> 

(3) work if tested using adb in chrome google search results website not "/" @ end.

(4) work work other deep links also! (for http://mywebsite/product/434 , http://mywebsite/category/434) when click on home page link chrome google results 2 icons of app appear!

how can solve problem , apply deep link website home page without conflicted other deep links?

note: last resort redirect deep links specific xactivity , inside xactivity process deep links in proper way don't think idea.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -