19 Apr 2014 11:01 AM #1
Unanswered: Cmd-built app not working on mobile browser (Safari or Chrome)
I am working with ST2.3.1 and Cmd 4. My app builds and runs fine on my desktop browser but does not launch on a browser on my mobile device. The loading dots with blue background shows up and then just hangs.
I tried this with a testing build on an iPhone 4S with Safari and Chrome, with similar results. So I pulled up the app in Safari, and opened Safari Web Inspector to see what's going on, and I cannot see anything unusual in the index.html. I have taken a screenshot and attached it below. The fact that the loading dots show up and the index.html loads means that I dont have a problem accessing the webserver.
Any ideas why the app may not be launching? Should I expect a testing build from cmd to work just the same way on a mobile browser as on a desktop, or does that require additional setup/configuration? My build settings are otherwise unchanged and use default settings mostly. Could this be a Mac OS X firewall problem? It's running on default factory settings.
Thanks in advance!
San Jose, CA
Screen Shot 2014-04-19 at 11.46.29 AM.jpg
21 Apr 2014 1:12 PM #2
Run the dev version of your app from the desktop browser and check the console for any warnings or errors. What is your app trying to do initially before the first view appear? Have you tried setting debugger statements in your code to figure out where it is breaking.Get more personalized support via a support subscription.
Want to learn Sencha Touch 2? Check out
Sencha Touch in Action
Need more help with your app? Hire Sencha Services email@example.com
When posting code, please use BBCode's CODE tags.
Need to include a test case use:
The official Sencha Fiddle