My initial attempt at trying ionic 3 has been met with some challenges. When I launch the application using either the ionic lab
or ionic serve
command, the platforms displayed in the browser show the same views for every device (iOS, Android, Windows).
However, if I modify IonicModule.forRoot(MyApp)
to
IonicModule.forRoot(MyApp, {mode: 'ios'})
in the app.module.ts
, the views switch to iOS on all devices. Similarly, setting it to IonicModule.forRoot(MyApp, {mode: 'md'})
changes to Android on all devices. Despite these changes, with the default code, all devices still display the same view and I have been unable to get them to show their unique views.
Check out the default operation here
And here after starting with the
commandIonicModule.forRoot(MyApp, {mode: 'ios'})
Do you have any insights as to why this is not working as expected based on the videos I have seen online? Thank you for any assistance provided.