Onsen UI 2.0 material design is not working with android 4.2

  • Greeting for the day!
    Onsen UI 2.0 material design is not working with android 4.2 when I tested it. another, this not faster than previous version onsen UI 1.x.
    What is the benefit of 2.0 version?

  • Onsen UI

    Hi! Material Design works if you add modifier="material" to the components. Next beta will automatically display Material Design on Android without specifying the modifier: gh#1199
    In mi opinion, the main benefit is that Onsen 2.0 is framework agnostic. It does not depend on AngularJS anymore (what made the previous version a bit limited in performance) and you can use any framework you want, or just pure JavaScript. Also, since we use Web Components now, programming an app is much easier since you can just get the element you want (document.querySelector) and style it as if it was a normal div or span. More information in this post. If you are really interested you can also check the changelog.

  • ok! But I build simple your demo app of material Design, really this is not working with android 4.2 device

  • Onsen UI

    @DILEEP-YADAV Which demo app are you talking about? This one?

  • @Fran-Diox I am talking about onsenui2-quickstart, This is not working with samsung galaxy gt s7582 Oprating system android 4.2.2 . If any solution about that please suggest me.

  • @Fran-Diox

    Greeting for the day !
    finally! I tested , Onsen UI 2.0 Material Design is not working with android 4.2.2 earlier version.
    This working with after android kit kat. If we will talking about india , Here 40% of android user are using earlier version of android 4.2.2 . So , In that case Onsen UI are not success
    in Indian market.I have no idea about other country. So please consider about that thinks. I hope, you will improve that. I love Onsen UI



  • @DILEEP-YADAV To get full compatibility back to API7, all of the support libraries have to be added to the Android SDK: http://developer.android.com/training/material/compatibility.html.

  • Ok! Thanks @munsterlander

    In that case in onsen ui should support auto compatibility as per devices of android API. If your device android version below than 5.0. in case should be by default onsen ui 1.x .
    If your device android version after than 5.0. in case should be by default onsen ui 2.x .

    Because any org. will not build multiple app according to devices compatibility. You know very well meaning of Apache Cordova technologies. Single code run multiple devices.

  • @Fran-Diox

    One Another think ! I have tested ionic material app on android api vesion 4.2.2. In same build configuration . This is working fine .

    you can test with :


  • Onsen UI

    @DILEEP-YADAV It’s not like we are leaving Android 4.2.2 version without Material Design on purpose, it’s just a bug and it will be solved. You don’t need to worry about Indian market or anything else.

  • @Fran-Diox

    thanks !

  • Is this bug still open?

  • Onsen UI

    @Reza-Rahmati I just answered you in Github issues. I tested 4.2 and only found minor bugs with few transitions. If you can tell us what is broken exactly we can check it in detail.

  • when i used {{ item.id }}
    in list item this not showing data it’s show {{ item.id }}

    on 4.2 but works on 5

Log in to reply