1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    41
    Answers
    3
    Vote Rating
    0
    minamu1 is on a distinguished road

      0  

    Default Unanswered: Cmd-built app not working on mobile browser (Safari or Chrome)

    Unanswered: Cmd-built app not working on mobile browser (Safari or Chrome)


    Hello,

    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!

    Mohammad
    San Jose, CA

    Screen Shot 2014-04-19 at 11.46.29 AM.jpg

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,833
    Answers
    324
    Vote Rating
    125
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    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 training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 1

Tags for this Thread