1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    380
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

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

    [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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,677
    Vote Rating
    749
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

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

    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.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar