In my application I'm currently using Navigation Jetpack following the single activity approach, only one activity and a bunch of fragments.
The app contains a fixed start destination, Home, then a special scenario for the first time experience.
- Splash -> Onboarding -> Home ( only first time)
- Splash -> Home
I'm trying to setup deeplink navigation but I found a particular scenario and I don't know how to solve it, let me explain:
When I open the app from a deeplink I see the correct screen but I press back I see the splash screen. What I want is to open the deeplink after the splash screen and over the Home or Onboarding, for when the user presses back they can continue inside the app.
How I can control the stack in a single activity?