Is ther any event to get mobile application's force close?

Hi,

Is ther any event to get mobile application's force close?

I have stored few think in javascript global variables to save the state. But when I forcefully closed or close the application, I am loosing the variables value.


Is there any way to get the closed event of applications?


Thanks

Dileep

Hello Dileep Verma,

Can you please use the JavaScript to Close app forcefully  navigator.app.exitApp()

Suhas Jamdade wrote:

Hello Dileep Verma,

Can you please use the JavaScript to Close app forcefully  navigator.app.exitApp()

Hi Suhas,

Thanks for your reply!

This is what I tried to find out...Not the JS code.

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


Dileep