I've an ionic app with auto-logout feature. When user performs any action I need to extend session timeout. I store time left in localstorage (using localStorageService).
I am able to extend time when user change screens or click buttons, but I am not sure how to do this on the rest of elements.
I simply need a way to catch any action (click on background, focus on element, button press) etc. What is the simplest way to do this? Thanks.