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

No implementation found for method is_sensor_available on channel flutter_sensors #29

Open
SilverSurgePtyLtd opened this issue Aug 8, 2023 · 1 comment

Comments

@SilverSurgePtyLtd
Copy link

On android 13 im getting the following exception when trying to check if the device sensor is available.

Implementation:

SensorManager().isSensorAvailable(Sensors.ROTATION).then((value) {
      if(value){
        _initSensors();
      }
    }).onError((error, stackTrace) {
      print(error);
    });

Error:
No implementation found for method is_sensor_available on channel flutter_sensors

@SilverSurgePtyLtd
Copy link
Author

On android 13 im getting the following exception when trying to check if the device sensor is available.

Implementation:

SensorManager().isSensorAvailable(Sensors.ROTATION).then((value) {
      if(value){
        _initSensors();
      }
    }).onError((error, stackTrace) {
      print(error);
    });

Error: No implementation found for method is_sensor_available on channel flutter_sensors

I thought this was the flutter_sensors repository, please update repository link on the pub page

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

1 participant