Fixed
Status Update
Comments
il...@google.com <il...@google.com>
jo...@jmb.dev <jo...@jmb.dev> #2
We'll wait for your sample app.
il...@google.com <il...@google.com> #3
Seems like that this happens because in NavHost.kt, a last() function is called without handling the situation where this could be null
jb...@google.com <jb...@google.com> #5
Issue is happening to me as well after library update when I switch between tabs quickly
Description
Version used: 2.2.0-rc04
Devices/Android versions reproduced on: potentially all
This is kind of a followup to
There seems to be a bug related to the changes introduced in the aforementioned ticket. If I define a simple deeplink like so:
<deepLink
android:id="@+id/deepLinkToSomething"
app:uri="myapp://open/something />
... the deeplink will NOT be executed when I attempt to open an Intent which has the data URI myapp://open/something?someParameter=parameter. The solution to the aforementioned ticket should have made this work by ignoring undefined parameters.
My current local solution (as outlined per
<deepLink
android:id="@+id/deepLinkToSomething"
app:uri="myapp://open/something?dummy={dummy} />
Then it works just fine.
I suspect it has something to do with how the pattern is compiled in the constructor of NavDeepLink in case there are no parameters.