Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
treecon opened this issue Apr 6, 2019 · 1 comment

Comments

@treecon
Copy link

treecon commented Apr 6, 2019

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.

@shinz4u
Copy link

shinz4u commented Apr 23, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants