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
    Posts
    1
    Vote Rating
    0
      0  

    Default 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,

    Steve

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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