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

Using seney inside background work manager worker #46

Open
kpradeepkumarreddy opened this issue Feb 27, 2019 · 1 comment
Open

Using seney inside background work manager worker #46

kpradeepkumarreddy opened this issue Feb 27, 2019 · 1 comment

Comments

@kpradeepkumarreddy
Copy link

I'm using sensey inside work manager worker. Can i use this library to sense even when the app is in background ?

@nisrulz
Copy link
Owner

nisrulz commented Mar 12, 2019

Yes and no.

With API 28 onwards there are background limitations imposed by Android OS itself. SO considering that background processing might not work because the sensor data is not even available via the OS.

Sensey was built to tap into system generated sensor data. If the OS doesn't emit sensor data, sensey cannot do anything.

Below API 28, though you can capture sensor data using a Service.

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