User logged out after closing app in IOS

I’m using Ionic, in IOS user log in and can do his work, whatever I’ve provided. After some time closing the app without logged out. And again user goes into my app in IOS that old user is logged out.

I don’t know why. Anyone can help me please ?

I don’t know how can we help you in this case without provided code. This is probably a logic problem in your code.

Please, read this article and update your question: http://www.gajotres.net/help-us-help-you-how-to-ask-a-good-ionic-forum-question/

I don’t know which code is suitable for this issue.

I think the token has expired after coming out from the app in IOS.

Listen, I don’t want to sound harsh, but who do you expect any help with such a short question?

You haven’t even look at a provided link.