PDA

View Full Version : Sencha Touch 2.1.0 not loading on iOS?



rpsirois
15 Nov 2012, 11:00 AM
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.



<!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

mitchellsimoens
19 Nov 2012, 6:42 AM
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.

rpsirois
19 Nov 2012, 7:01 AM
You're thinking an issue with PhoneGap then? Sigh. Thanks for testing that.

RS

gypsie
9 Dec 2012, 12:45 PM
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.