I am developing an ionic app at this stage, and I encountered a problem, that is, the app will retreat to the background. When you re-enter the app after a certain period of time, you need to add a function, that is, the login has expired and you need to log in again. This function is being checked. After some information, I still can't figure it out, and there is no breakthrough. I hope someone can give me an idea.