Ionic 4 Skip Start-Page when user is logged in

can you share the source code? didi you used DB or ionic storage looks like you used DB

Sourcecode is already here: Ionic 4 Skip Start-Page when user is logged in

Tnq ive done with my project and running quiete good.

can you share your code please?

sorry dude the code is not uploading,you better see this page i’ve followed this .

Thanks…I"ll try it and feed you back here.

I’ve tried it but still showing the login page for like a second before switching, which I don’t consider perfect.

try thisthis.navController.navigateRoot instead of router in you ts file

1 Like

Take a look at my router. The first page to load is not the login page, it should be your homepage or whatever.

I’'ve tried all still not working has desired, shows the order page briefly before switching.

Thanks @o8thug …your solution worked, I used navController then setRoot.

But I had to resolve to animated splash screen because it still briefly shows the login page before navigating to the dashboard…Thanks

Do you use an AuthGuard?

I used AuthGuard then…but still couldnt get desired result.

share your code here @Ojhey


i am using the ionic4 app its navigated the main page in baground but its still splash is displaying ho can i use this i am using with capacitor

it’s still doesn’t work !

you mean for the authGaurd or splashscreen method?

You could use splashscreen to hide the flick and redirect to the desired page.

please, can you provide an example to more clarification?