Hi, We’re trying to implement deeplinks with multi...
# multiplatform
a
Hi, We’re trying to implement deeplinks with multiple query parameters, but only one query parameter is being deserialized. The other query parameters seem to be ignored. Is this a known issue? We are using:
Copy code
jetbrains-compose-navigation = { 
    group = "org.jetbrains.androidx.navigation", 
    name = "navigation-compose", 
    version.ref = "2.9.2" 
}
This is the setup we use:
Copy code
composable<TypedCallbackRoute>(
    deepLinks = listOf(
        navDeepLink<TypedCallbackRoute>(basePath = "<test-dev://typed/add>")
    )
) { backStackEntry ->
    DeeplinkResultScreen(
        title = "Typed navDeepLink<T>",
        route = backStackEntry.toRoute<TypedCallbackRoute>().toDebugRows(),
        args = backStackEntry.toArgumentRows()
    )
}
We trigger it with:
Copy code
adb shell am start -a android.intent.action.VIEW -d "<test-dev://typed/add?state=access_denied&error=description&state=dasdf&code=dkjsad>" app.test.navigationrepro
When we inspect the NavBackStackEntry, the query parameters are not all present in backStackEntry.arguments. In our tests, only one query parameter is retained, while the others are missing. The same issue also appears when reading the typed route with backStackEntry.toRoute<TypedCallbackRoute>(). Is this expected behavior, or is this a known limitation/bug in org.jetbrains.androidx.navigationnavigation compose2.9.2?