I am developing an app which contains some sensitive data.
I would like the app to lock out and require the user to re-enter their password to continue, in the following circumstances:
Any suggestions how I could handle the second scenario. I have seen some comments about using timers which reset on user interaction, but I have nearly 30 B4xPages in this app with lots of UI controls, and I would prefer not to have to reset the timer in every click and textchanged etc event.
Note, when the screen timeouts, this also causes the B4xPages_background event to be fired. But I cannot guarantee that the user will have the screen timeout set.
Thanks
I would like the app to lock out and require the user to re-enter their password to continue, in the following circumstances:
- When the user switches to another app or the homepage.
- After a period of inactivity (10 minutes)
Any suggestions how I could handle the second scenario. I have seen some comments about using timers which reset on user interaction, but I have nearly 30 B4xPages in this app with lots of UI controls, and I would prefer not to have to reset the timer in every click and textchanged etc event.
Note, when the screen timeouts, this also causes the B4xPages_background event to be fired. But I cannot guarantee that the user will have the screen timeout set.
Thanks