Users Being Automatically Logged Out

I have the problem where users are getting automatically logged out of the app after around 24 hours. This is really frustrating. I am using both web as well as Android and iOS through the BDK SDK. This is happening with almost every user.

On the “Log the user in” action you have to put “yes” for the “Stay logged in” option

Already tried this! Still not doing anything.