Trigger an event when the App is closed

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
    Admin
    Todor avatar
    778 posts

    Posted 27 Aug 2015 Link to this post

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

    Posted 04 Jan 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