Handling Email Link Jetpack Compose with Navigation Compose

82 views
Skip to first unread message

Marco Antonio

unread,
Nov 26, 2022, 10:40:00 AM11/26/22
to Firebase Google Group
Hi devs, I've successfully managed to open my application from an e-mail link activation for a sign up process.

Now, when my intended screen opens with the link "https://<APPLICATION_ID>.firebaseapp.com", how should I parse the arguments within navigation compose?

As such, how would the configuration looks like:

composable(
    route = "...",
    deepLinks = listOf(
        navDeepLink {
            uriPattern = "https://<APPLICATION_ID>.firebaseapp.com"
            action = Intent.ACTION_VIEW
        }
    ),
    arguments = listOf(
        navArgument("..."){
            type = ...
            defaultValue = ".."
        }
    )
){...}
Reply all
Reply to author
Forward
0 new messages