[Request]: Make sensors_plus to work in background task in android.
Plugin
sensors_plus
Use case
I wanted to create an app that check if the device is picked up every few hours, and notify to the emergency contacts if there is no pick up in the last 24-48 hour. In order to do that, the app needs to work in the background, get the information from gyroscope, and sends the information to the server to check the difference.
I considered using the location, but users might be concerned about their privacy. Hence using the gyroscope is suitable for this case.
But the gyroscope does not work on background in android. Consulted this as a bug, but found out there is no such functionality provided. https://github.com/fluttercommunity/plus_plugins/issues/2514
Proposal
Please make gyroscope to work in background task.
For such use cases, I use sensors_plus combined with flutter_background. I don't really see a need for this to be integrated as it's not really sensor specific but rather related to background activity.