1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    22
    Vote Rating
    1
    rpsirois is on a distinguished road

      1  

    Default Sencha Touch 2.1.0 not loading on iOS?

    Sencha Touch does not seem to fully load up on iOS (but works fine on my Android devices). Here's a few examples of namespaces that are undefined:
    Ext.Msg
    Ext.Viewport
    Ext.plugin

    I'm using Sencha Touch 2.1.0 commercial (Build date: 2012-11-05 22:31:29, 08c91901ae8449841ff23e5d3fb404d6128d3b0b) and PhoneGap 2.1.0.

    The following is a super simple template that can be used to recreate the issue. I used weinre to inspect the app.

    Code:
    <!DOCTYPE HTML>
    <head>
      <script type="text/javascript" src="./sencha-touch-all.js"></script>
      <script src="http://localhost:8080/target/target-script-min.js#anonymous">
        <!-- weinre -->
      </script>
      <link rel="stylesheet" type="text/css" href="./sencha-touch.css">
    </head>
    <body>
    </body>
    </html>
    Anyone else experiencing this behavior? Thanks,

    RS

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,396
    Vote Rating
    1101
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    It's working for me. I don't have the <script> for the localhost script which if you are within PhoneGap I can see that failing.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    22
    Vote Rating
    1
    rpsirois is on a distinguished road

      0  

    Default

    You're thinking an issue with PhoneGap then? Sigh. Thanks for testing that.

    RS

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Location
    Sacramento, California
    Posts
    75
    Vote Rating
    9
    gypsie will become famous soon enough

      0  

    Default

    I have the same problem. Sencha Touch 2.1.0 Commercial, Safari 6.0.2, OSX 10.8.2, All caches emptied. Restarted Safari.
    I am using Sencha provided example files and nothing loads. White blank page, no error messages in Inspector.