Why android doesn't handle deeplink url which has # in the way

Is the URL http://javaexample.com/#/topics a valid URL?

I am trying to remove the above URL in an application using:

  <intent-filter android:label="@string/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="javaexample.com"
                android:pathPrefix="/#/topics" />
        </intent-filter> 

but the terminal release message is

Activity not running, unable to resolve Intent {act = android.intent.action.VIEW dat = http://javaexample.com/ ...

is url http://javaexample.com/#/topics is not a valid URL if it has # in the path?

+1
source share
1 answer

# URL- . , , URL- , .

URL-, # .

+2

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


All Articles