Results 1 to 2 of 2

Thread: [sencha+phonegap] when does the OS decides to 'shutdown' an app

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    439
    Vote Rating
    7
      0  

    Question [sencha+phonegap] when does the OS decides to 'shutdown' an app

    Hi all
    I have a sencha phonegap app - pure sencha JS code - no use of native functionality. deployed on ios.
    I was wondering regarding the following behavior:
    1. launch the app and do some stuff
    2. press home screen button - app is invisible but still on the multitasking menu
    3. after an hour or so open the app from the multi tasking window and app returns to where I left it as expected
    4. press home screen button - app is invisible but still on the multitasking menu
    5. after 24 hours or so open the app from the multi tasking window and the app is re-launched from scratch (splash screen etc)
    I was wondering why is that? I though that as long that the app 'lives' in the multitasking window it is always 'awake' and will return to previous state.
    can anyone please shed some light over this?
    thanks in advance.

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

    Default

    Would think iOS would probably say your app hasn't been active for a while, I'm gonna conserve memory and hibernate you.
    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
  •