Hi! I have been using ST1 + Phonegap in the past, but at the moment I am trying to get the most out of Sencha Touch 2 + Native Building. Because of the nature of the app that I am writing it is mandatory that the app 'logs the user off' when it has been in the background for more than 5 minutes. In the past I just assigned the current date to a variable onPause and compared it to the timestamp in onResume. If the difference was more than 5 minutes => lock.
I know that Sencha uses the onPause and onResume internally for solving the iOS LocalStorage bug, but I would like to know whether I can access these events from the JS-part of Sencha. Can a source-code-fanatic or developer shed some light on this?
Thanks in advance!