hi guys have anyone noticed that some characters a...
# compose
a
hi guys have anyone noticed that some characters are not ignored when passing them in the arguments when using Navigation. i have my composable like
composable("Screen.Login.route?email={email})
and when i want to push to that screen like
navController.navigate(Screen.Login.route?email=<mailto:user+test@example.com|user+test@example.com>)
in the next screen ill get the email argument like
user <mailto:test@example.com|test@example.com>
without the
+
but that only happens when i use argumentes like
?foo={bar}
no when i use something like
/{bar}
1
i
It sounds like you are missing a
Uri.encode
around your email argument
a
yes, that did tick, i was just not sure i needed to encode the string since it was working fine without the
?foo={bar}
pattern. thanks for the help 🙂