0
I am testing some components of Ionic 2. I installed via usb an application with a simple menu, which has some items. When I try to open the side menu 'dragging', it doesn’t work, just by clicking the menu button. My device is Zenfone 5 with android 4.4.2.
<ion-header>
<ion-toolbar>
<ion-title>Menu</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<button ion-item *ngFor="let page of pages" (click)="openPage(page)">
{{ page.title }}
</button>
</ion-list>
</ion-content>
</ion-menu>
<ion-nav #content [root]="rootPage"></ion-nav>
I also downloaded a project tutorial
of Ionic 2 makes available to those who are starting, but also did not work.
Dude that basic example project of them already works that there. I find it kind of hard you get an answer, because your code is not complete here.
– viana
@Acklay Yes. Putting it all would take up a lot of space. I figured it could something related to Android version or something related. but I didn’t find anything to prove it. Because their code certainly works.
– Jonathan
I have a project here that it’s basically from this form that you put there, but in ion-Nav it’s like this :
<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>
– viana
@Acklay worked with neither false nor true :/
– Jonathan
@Acklay installed a guy named
crosswalk
. It seems that the webview of my phone does not support ionic2 right and Angular2, so some features do not even work. Crosswalk solves this, on the other hand has a 3x more size than a normal app would have.– Jonathan
That Zika that! I have never seen any situation where the webview of some model did not work. You have tested your application in the browser and it normally works Drawer?
– viana
I see no problem in increasing the size of the app a little. The bad thing is whether it will influence the application’s performance issue. From what I read of the crosswalk improves both performance and predictability.
– viana
@Acklay. Yes in the browser works normally, but also, so far, only this gave problem regarding webview, the rest of the things are working... Yeah, I’m only doing tests with this device, but depending on the application, if necessary, it’s worth installing this Crosswalk.
– Jonathan