Hello,

I need to run an action when i get off my mobile application.

I had configured these events:

document.addEventListener("pause", RunAction, false);
document.addEventListener("resign", RunAction, false);

function RunAction() {
    $actions.RunAction();
}

All work but when I turn the IPhone off it doesn't fire any event.

What should be the event for this situation?

Thanks,

Alexandre Reis.