In my Ionic app, I am faced with the following use case involving the implementation of the splashsscreen plugin :
1. When the user is not logged in:
Show SplashScreen > LoginPage pushed to stack >
Hide SplashScreen on the login page
2. If the user is NOT logged in:
Show SplashScreen > Login page pushed to stack>
Landing page pushed to stack (after user logs in) > Hide SplashScreen.
Expected Outcome:
In scenario-2, I anticipate that the SplashScreen will disappear and the Landing Page will be displayed without the appearance of the Login page.
Actual Result:
However, in scenario-2, the SplashScreen disappears momentarily, the login page briefly appears, and then the Landing page shows up.
Is there a way for me to achieve the desired behavior? Please advise if any code snippets are needed.