Sets an event listener that runs when the Cordova Activity is "destroyed". Note that this event does not always run before a program is removed from memory (see below link and image).
window.plugins.OnDestroyPlugin.setEventListener (function)
Sets an event listener that runs when the Cordova Activity is "destroyed". Note that this event does not always run before a program is removed from memory (see below link and image).
window.plugins.OnDestroyPlugin.setEventListener (function)