I'm trying to use <nav-graph>
generator to generate <intent-filter>
elements in my AndroidManifest.xml
In one of the fragments in my nav_graph.xml
, I added:
<deepLink app:uri="axzae://notifications" />
In the generated APK, the AndroidManifest.xml
looks like below
<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:scheme="axzae" />
<data android:host="notifications" />
<data android:path="/" />
</intent-filter>
Now, the problem is with the additional android:path="/"
. It made the app only respond to axzae://notifications/
but not axzae://notifications
(take note of the ending slash)
Is there anywhere I can make <nav-graph>
to support axzae://notifications
deeplink or without generating the <data android:path="/" />
line?