when creating a navigation route, is there any rea...
# compose
n
when creating a navigation route, is there any reason it has to follow a uri format? Is there anything wrong with generating a destination based on package and function name?
s
Having package names and so on shouldn't be an issue, in fact this https://github.com/kiwicom/navigation-compose-typed creates the route using the name of the class you create as a destination, so routes do end up looking like some big strings
Just as long as you follow the rules of how variables are passed in there. Aka don't have
/
or
{}
at random places. And make sure the string itself is base64 encoded if you're trying to pass stuff that would break it. Again you can look inside that library for ideas of how that can be done
n
thanks