I downloaded the https://github.com/driftyco/ionic-preview-app and put it to run
So I wanted to force the template for md, reading the doc posted by KimWong, a see this config:
http://ionicframework.com/docs/v2/api/config/Config/
@App({
template: <ion-nav [root]="root"></ion-nav>
config: {
backButtonText: 'Go Back',
iconMode: 'ios', /* <---- */
modalEnter: 'modal-slide-in',
modalLeave: 'modal-slide-out',
tabbarPlacement: 'bottom',
pageTransition: 'ios',
}
})
But i try it and didn't forced
"(...)\ionic-preview-app\app\app.ts"
@App({
templateUrl: './build/app.html',
config: {
production: false,
iconMode: 'md',
platforms: {
android: {
activator: 'ripple',
backButtonIcon: 'md-arrow-back'
}
}
}
})
The only solution was run the url with query param
http://localhost:8100/?ionicplatform=android
Does anyone know tell me it did not work?
This url says it's possible to force
You can change the mode that gets assigned in the configuration of your app. Therefore, if you wanted the Material Design md mode on iOS, you could do it.
http://ionicframework.com/docs/v2/theming/platform-specific-styles/