resume
The resume event fires when the native platform pulls the application out from the background.
Quick Example
document.addEventListener("resume", onResume, false);
function onResume() {
// Handle the resume event
}
iOS Quirks
Any interactive functions called from a pause event handler execute later when the app resumes, as signaled by the resume event. These include alerts, console.log(), and any calls from plugins or the Cordova API, which go through Objective-C.
active event The