Trigger an event when the App is closed

Thread is closed for posting
3 posts, 0 answers
  1. A8
    A8 avatar
    1 posts
    Member since:
    Jul 2015

    Posted 24 Aug 2015 Link to this post

    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. Todor
    Todor avatar
    798 posts

    Posted 27 Aug 2015 Link to this post


    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.

    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
  3. Edward
    Edward avatar
    5 posts
    Member since:
    Jan 2016

    Posted 04 Jan 2016 Link to this post

    Even I was wondering if there is any possibility to log out any app once it is closed. I don't think it possible..
Back to Top