How to automatically logout in native mobile ?

0
Hi experts, I have a native mobile project that has a requirement to log out automatically at the end of the day. Is that logic possible in native mobile ? as far as I know,  Scheduled event only available using microflow but native mobile use nanoflow.   thank you, Zacky Burhani H.
asked
1 answers
0

When running a scheduled event, you can just run a microflow, as it is performed on the server side (where you store your application) and not client side (mobile phone of the user).

I am not sure if you will be able to log-out all users at the end of the day from the server side, but you can always try.

Perhaps by creating a boolean attribute called LoggedIn that is linked to their account, which is set to TRUE when they log in and which you can use to find logged in users

Other route might be to check for active sessions at the end of the day.

answered