Detect Swipe up on the app's preview to close the app

We are trying to detect swipe up on the app's preview to close the app in order to some task, delete some local storage and so on.

Please, advise.

Junaid

Thanks for your replay but I am trying to catch when user want to close de app using standard iOS procedure making a swipe from bottom to up.

It is no related to move from one screen to another.

Best Regards

Edgardo, is it not possible to handle this on OnDestroy event of the mobile screen? If not, please check below post if that helps

https://www.outsystems.com/forums/discussion/33230/onbeforeclose-eventlistener-in-mobile-app