Application Handling

I want to process this URL, but my code is not working.

http://melkplus.com/#!/property/details/765


In fact, when I click on this URL, my phone does not offer me my application and it just opens with a browser.
I think the application has C # problems! c URL.

<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="melkplus.com"
    android:scheme="http"
    android:pathPrefix="/#!/property/details/" />
</intent-filter>
+4
source share
1 answer

Everything starting with #is not part of the URL path, but rather is a fragment. You cannot filter fragments.

+2
source

Source: https://habr.com/ru/post/1690484/


All Articles