I have an application that requires sending data to a web service, I'm using javascript setinterval, and my app what it does is send the data well for 6 minutes but then the set interval stops paused and until the phone finds a good Internet connection sends lso data but not in the established time
I have an application that requires sending data to a web service, I'm using javascript setinterval, and my app what it does is send the data well for 6 minutes but then the set interval stops paused and until the phone finds a good Internet connection sends lso data but not in the established time
`function foreground (){ document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { cordova.plugins.backgroundMode.enable(); cordova.plugins.backgroundMode.isActive();
} }`