Android Question Logout from the app if no activity.


Active Member
Licensed User
Hi all.
Is it possible to logout user from the app if user leave it open for, let say 20 minutes?

Like the session on web . The session expired - the user logged out.

I'm writing an app that works with sensitive data and don't want it to be open for all time. If the user put a phone on a table and left for a coffee I want him to login again.