Let's say I have the following buildType
section in my Gradle file:
buildTypes {
debug {
...
resValue "string", "DEEPLINK_EXAMPLE", "appnamedebug://detail/{detail_id}"
...
}
release {
...
resValue "string", "DEEPLINK_EXAMPLE", "appname://detail/{detail_id}"
...
}
}
I wanted to use the generated String resource as a deeplink in my Jetpack Navigation XML file as follows:
<deepLink app:uri="@string/DEEPLINK_EXAMPLE" />
I've tried something similar to this, but the Intent Filters don't show up when I looked at the output file from ./adb shell dumpsys package r
.
Is this even possible in the first place? If it is, is there something I missed?