Ionic life cycle (kill event )

When i kill my application i want to alert some text like exit.


If the OS or the users wants to kill your app, the OS sure won’t show any UI and the user 99.99% doesn’t want to see any UI.

Do you know of any mobile apps (in the store) that do this?