How to navigate from LoginPage to thel tabs of the app(actual app)?


#1

Hey I have set the loginform (here StartPage) as new rootPage, so this is the first thing the app loads.

app.components.ts

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
    this.rootPage = StartPage;
    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      statusBar.styleDefault();
      splashScreen.hide();
    });

from the StartPage I navigated to a the actual login from (LoginPage) with a click event. Now I also wanted to navigate with a click event to a page in the tabs-> so im in the actual app. But that didn’t work. Do I have to add smth above or does it work with just a click event?