In my app, it starts with the Splash Screen. Then the user login and already reach to Dashboard activity. I finish the Splash and Login activities from the backstack.
But when the user open the app again from Zapya, the app load new splash activity on top of the existing activity stack. When the user tap on Back button, the splash activity disappears and the Dashboard activity display again.
According to my knowledge, the app should normally show the topmost activity when it already exists in the memory.
Please, suggest me is there anythings should I modify or configure?
Edit: This is a known bug and there is various ways to solve this problem. I've solved this problem by this stackoverflow answer. You can also learn in the following post too.