This is a migrated thread and some comments may be shown as answers.

Trigger an event when the App is closed

2 Answers 94 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
A8
Top achievements
Rank 1
A8 asked on 25 Aug 2015, 04:30 AM
Is there a trigger that can fire once the App is closed? We have an App that has a log-in feature. The client wants the user to be logged out once the App is closed. 

2 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 27 Aug 2015, 02:29 PM
Hi,

Thank you for your question.

It is not possible. Here's a more detailed explanation. Here you can read more about the Activity's lifecycle and onStop, however it will also be called if you navigate to another activity, so even if this is the closest thing to your requirement, I don't think it will be enough unless you have a single-activity-app.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Edward
Top achievements
Rank 1
answered on 04 Jan 2016, 09:43 AM
Even I was wondering if there is any possibility to log out any app once it is closed. I don't think it possible..
Tags
General Discussion
Asked by
A8
Top achievements
Rank 1
Answers by
Todor
Telerik team
Edward
Top achievements
Rank 1
Share this question
or