I realize that if I have an app with multiple screens, I have two options to select a specific screen:
-
Change the default or “Home” screen for the app overall
-
Add navigation buttons within the app to move to a different screen
I am wondering. if it is possible instead to designate the starting screen via URL parameter so that for different use cases within my app I can have a different URL to go directly to the desired screen.
I know I can retrieve a URL parameter in a Custom Script as window.location.search and could set up a Navigate block in Dronahq to choose a screen based on that value. But still the user would have to click a button to activate the Navigate Block.
Is there a way from a custom script or otherwise that I can set my app so that a Navigate block begins as soon as I execute a public URL? That way I could add a conditional statement to the Navigate block and go to different screens depending on the URL parameter which I used in the URL.