fluttercommunity / fluttercommunity/plus_plugins
[Request]: Adjusting sample rate for web with Sensors Plus plugin
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Plugin
Sensors Plus
### Use case
There has been a discussion about adjusting the sample rate for sensor data in the Sensors_plus flutter package (https://github.com/flutter/flutter/issues/25971). (Sensors_plus is the only sensor package for web).
Following the above thread, I managed to adjust the rate when building for Android, by changing SENSOR_DELAY_NORMAL to SENSOR_DELAY_GAME.
Now my question is: Is there a way to adjust the sample rate for sensordata when building for web?
### Proposal
Be able to adjust the sample rate / update rate for sensor data when building for web? For the sensors in the package (Gyroscope, Accelerometer etc.)
Contributor guide
Assessment
This issue has not been assessed yet.