I have a hybrid mobile web application. The condition is user will be logged out if there is no activity (screen - touch, click, navigation etc) in app for 10 minutes.
The possible option is to register all available jquery mobile events on page id and record the last event timestamp. And logout user if no event is catched till 10 minutes.
But apart from this option is there any another better apporach to handle this scenario. If yes can it be done just by using the Jquery Mobile or does it need native plugins?
-Hanumant