2.0.0-rc0 and app configuration

How can I force the app mode to be always “iOS”? In the previous version it was quite easy by manipulating the bootstraping, e.g.

ionicBootstrap(MyApp, [], {
  mode: "ios",
  menuType: 'push',
  prodMode: true,
  pageTransitionDelay: 0,
  statusbarPadding: false
});

But how can I force a behaviour like this with RC0?

Thanks in advance,
Oliver

You write in IonicModule.forRoot in app.module.ts.

for example…

imports: [
    IonicModule.forRoot(MyApp,
        {
            backButtonText: '',
            tabsHideOnSubPages: true
        }

regards.

3 Likes

Works perfectly - thank you very much! Am I blind or was it not documented by now?

Oliver

1 Like

I am blind but thank you once again!

1 Like