capture Home button press

Is there any event fired when App is closed using the Home button? Ran into a case where need to fire an analytics event when the app is closed.. Any help would be appreciated… Any workarounds will do..

That should be asked in the developer’s forum.