Is there an ion capacitor event that is triggered when the app closes/unloads?

Viewed 47

I'm new with Ionic Capacitor, and I need one way to delete some cookies when the app is closed intencionally by the user, or is closed whitout the user intervention(for example when the app crashes or is closed by the OS). So my question is there is a listener on Ionic Capacitor that catch the events mentioned?

0 Answers
Related