WordPress LMS for Web and mobile › Forums › Ionic App Support › login page after splash screen
Tagged: login, splash
I need show the login page after splash screen, an redirect to a section courses after login. Can you help me?
for that please goto src -> app -> app.component.ts file add this line :
{ title: 'Painel', component: ProfilePage, index: 5, hide:false},
refer : http://prntscr.com/jdkom0
Not works, after splash still redirect to a homepage, instead of profile page
I force compile and works, but now show me this error
https://drive.google.com/file/d/1vUQm0nr1yltq91uqvweQvCQM-FsAfDGC/view?usp=sharing
Well with that there are two more changes in src/app : http://prntscr.com/jih76m
in pages -> tabs :
https://prntscr.com/jih68m
Great, Thanks a lot.
Now, for redirect to a page after login?
Please refer this screenshot : http://prntscr.com/jixasq
please check reference to ” TabsPage ” .
this means it is redirected to tabs page where initial value page is again set to home page . so to change it you can add reference to page class above the file and can use it to redirect .
refer : https://ionicframework.com/docs/api/navigation/NavController/