Hello everyone. I’m trying to implement deeplink h...
# compose
k
Hello everyone. I’m trying to implement deeplink handling in compose navigation, but my app behaved like it was ignoring them. So, I debugged deeplink handling by stopping deelink handling inside of
navController.handleDeeplink
and figured out, that my deeplink with two query arguments separated with
&
have been stripped from the second argument. From
<http://www.my-site.com/action?h={h}&u={u}|www.my-site.com/action?h={h}&u={u}>
only `www.my-site.com/action?h={h}`left. When I changed, for testing, the separator to
,
deeplink started to work as expected. Is that an expected behaviour? I believe, that wasn’t the case when we were using Navigation component, and handled deeplinks manually, they came in full.
e
how are you testing your deep links? if you're using
adb shell am start
or similar,
&
will get interpreted by the shell as a background job
k
Thanks a lot, that was the case. til
🎉 1