In

cordova Check if App is in Background