try to allow background process
This commit is contained in:
		@@ -692,5 +692,13 @@ $(window.onunload = function() { // you probably don't want to leave now...
 | 
			
		||||
    alert('You are trying to leave.');
 | 
			
		||||
    return false;
 | 
			
		||||
});
 | 
			
		||||
/// Allow Running in Background on Android
 | 
			
		||||
document.addEventListener('deviceready', function () {
 | 
			
		||||
    if (cordova && cordova.plugins.backgroundMode) {
 | 
			
		||||
        cordova.plugins.backgroundMode.enable();
 | 
			
		||||
    }
 | 
			
		||||
}, false);
 | 
			
		||||
 | 
			
		||||
/// Start Main Loop
 | 
			
		||||
$(start);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user