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
    445
    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 - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,023
    Vote Rating
    1364
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •