search

Home  >  Q&A  >  body text

javascript - ionic app retreats to the background for a certain period of time before entering the app and the login expires. You need to log in again. How to implement this function?

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.

曾经蜡笔没有小新曾经蜡笔没有小新2777 days ago652

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-19 10:35:05

    Timestamp + unique identifier, token
    http://blog.csdn.net/u0102882...

    reply
    0
  • Cancelreply