With compose navigation component?
I want to open a nested navigation destination that accepts a uri which is basically a string encoded when passing the argument and decoding when reading it, displaying an image from that uri, simple as that.
FunkyMuse
01/03/2023, 1:33 PM
Copy code
DisposableEffect(Unit) {
val listener = Consumer<Intent> {
// logic here
checkForRedirections(navHostController)
}
addOnNewIntentListener(listener)
onDispose { removeOnNewIntentListener(listener) }
}
This is called, but most of the time the intent is