Tried with icenium


#1

I followed the tutorial with simple list with sidemenu.
It works fine in the browser, but when i test out on my android with using ICENIUM (www.icenium.com) the app loads fine, but the touch event is gone. When i tap or slide to open sidemenu, it just doesn’t work.

Any idea why? It works in the simulator from icenium, but not working on the actual device…


#2

I’m using ICENIUM to develop too, and i don’t have any problem running on device. It may not be ionic’s fault, maybe some config, but I don’t know what it could be, I’m not doing anything special to run on device. I can run it using ION, and generating the .apk and .ipa too.


#3

Here’s my index.html, runs fine in browser.

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
    <link rel="stylesheet" href="css/ionic.css">

    <title>My Test App</title>

    <script src="js/ionic.js"></script>
    <script src="js/angular/angular.js"></script>
    <script src="js/angular/angular-animate.js"></script>
    <script src="js/angular/angular-route.js"></script>
    <script src="js/angular/angular-touch.js"></script>
    <script src="js/angular/angular-sanitize.js"></script>
    <script src="js/angular-ui/angular-ui-router.js"></script>

    <script src="js/ionic-angular.js"></script>

    <script src="cordova.js"></script>

    <script src="js/app.js"></script>
</head>
<body ng-app='p4n' ng-controller='CloudCtrl'>
    <side-menus>
        <pane side-menu-content>
            <header class="bar bar-header bar-dark">
                <h1 class="title">My Test App</h1>
            </header>
            <content has-header="true">
                <list>
                    <item ng-repeat="note in clouds">
                        {{note.note}}
                    </item>
                </list>
            </content>
        </pane>
        <side-menu side="left">
            <header class="bar bar-header bar-dark">
                <h1 class="title">Profile</h1>
            </header>
        </side-menu>
    </side-menus>
</body>

#4

I import the cordova library before all of the ionic libraries, maybe it’s that.


#5

I’ll give that a shot…


#6

Could be they are overriding a touch event which is blocking stuff. Unfortunately, that’d be out of our control.