Ich habe tiefe Verknüpfung auf meiner Android-App aktiviert und es funktioniert gut.Deeplink Intent-Filter auf einen bestimmten pathPrefix?
Ich möchte jedoch, dass der Intent-Filter nur auf einen bestimmten pathPrefix
hört, d. H. und nicht auf einen anderen pathPrefix
.
Ist das möglich? Ich meine Absicht-Filtercode in AndroidManifest.xml
<intent-filter android:label="My 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="www.domain.com"
android:pathPrefix="/e" />
<data android:scheme="http"
android:host="mydomain.com"
android:pathPrefix="/e" />
<data android:scheme="https"
android:host="www.mydomain.com"
android:pathPrefix="/e" />
<data android:scheme="https"
android:host="mydomain.com"
android:pathPrefix="/e" />
</intent-filter>
Ich würde diese Lösung auch vorschlagen, das war meine erste Absicht. –