cordova-plugin-sensors icon indicating copy to clipboard operation
cordova-plugin-sensors copied to clipboard

While the app is in background, the sensors readings have a maximum frequency of 1 second.

Open treecon opened this issue 5 years ago • 1 comments

Is there a way to increase the interval while the app is in background? I have set the interval to 50ms (using the accelerometer sensor) but when the app is in background (minimized), I get readings only every 1 s.

treecon avatar Apr 06 '19 10:04 treecon

Is there a flag that is used to get the sensor data while the device is in the background or do you use some other plugin to make this application active on the background?

I am developing an application using ionic and was wondering if I could use this for background device motion sensing on Android.

Is there a way to get this plugin work on iOS?

shinz4u avatar Apr 23 '20 14:04 shinz4u