Skip to content

[Request]: Adjusting sample rate for web with Sensors Plus plugin #1280

@bjornwinther1996

Description

@bjornwinther1996

Plugin

Sensors Plus

Use case

There has been a discussion about adjusting the sample rate for sensor data in the Sensors_plus flutter package (flutter/flutter#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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions