Relaunching iOS application

69 views Asked by At

I am a new user of Titanium and have started debugging a bank application. I am stuck at one of the bugs related to user session handling.

Currently, the user logs in to the app and does the transactions, but if the user kills the app without logging out, then the app should automatically log him/her out when relaunched freshly(by which i mean NOT RESUMED FROM THE BACKGROUND). I have researched a lot about it for iOS application but have hardly found any solution for Titanium.

I have tried "pause" and "resume" event listeners but they are for, if the app is running in the background. But what I want is, if the user swipe closes the app then it should log out the user automatically.

Thanks in advance for any help

0

There are 0 answers