Results 1 to 2 of 2

Thread: Sencha App Restarting on iPhone When Launched From Home Screen

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Vote Rating

    Default Unanswered: Sencha App Restarting on iPhone When Launched From Home Screen

    We have a Sencha Touch appliction being developed primarily for use on iPhone/iPad. If we use the Add To Home Screen feature of Safari to save the icon to the Home Screen and then re-launch the application from this icon versus Safari, we are getting strange behavior. The issue is that if you get interupted from a phone call or pull up the task manager and switch to another application and then back, the Sencha Touch application will restart to the initial entry point. This does not happen if you lauch Safari and open the site URL.

    Has anybody figured out how to overcome this? It appears that the session is recreated when the Home Screen lauched sencha site becomes the main process running. So, if you authenticate through the app, then switch to another app (manually or get interrupted with a phone call) and then back, a new session is created and you lose where you are and have to re-authenitcate and start over.

    Thank you,


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    This is how iOS does it. In iOS5, the behavior I see is it seems to maybe timeout... after a certain amount of time it will force a refresh
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts