I have a navigation xml for a feature as below -
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/navigation_featureB.xml"
app:startDestination="@id/FragmentB">
<fragment
android:id="@+id/FragmentB"
android:name="FragmentB"
android:label="FragmentB">
<deepLink app:uri="App://FragmentB" />
</fragment>
</navigation>
In my FeatureA fragment, I do the following -
val uri = Uri.parse("App://FragmentB")
findNavController().navigate(uri)
I know how to use safeArgs without deep link.
How do I pass data to other feature with deep link?