aeyrium / aeyrium-sensor

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.
https://aeyrium.com
MIT License
57 stars 33 forks source link

sensor or listener is null #5

Closed Liliana99 closed 5 years ago

Liliana99 commented 5 years ago

Hi,

I've copied the example , then at the moment to run shows nothing on device!!

on my debug console says : E/SensorManager( 2627): sensor or listener is null

Can you help me with this, please?

diegoveloper commented 5 years ago

Hello, probably your device doesn't have rotation sensor. What device do you have?

Liliana99 commented 5 years ago

Hi, is a samsumg tablet

diegoveloper commented 5 years ago

try using a phone . Do you know the model of the tablet? model/android version/ , give us more detail please.

Liliana99 commented 5 years ago

ok, I'll try on a phone,

The tablet is Galaxy Tab A(2016) model : SM-T580 Version Android 8.1.0

diegoveloper commented 5 years ago

it's look like it doesn't have a rotation sensor https://www.sammobile.com/devices/galaxy-tab-a-2016-101-wi-fi/specs/SM-T580/

Liliana99 commented 5 years ago

OK, thanks,

Sorry I had check that before!!, I will try on a phone...

Thanks again.

Falguni1441 commented 3 years ago

I have the same issue, it shows sensor or listener is null Mobile : Moto e7 plus Model : XT2081-2 Android version : 10

SpicierEwe commented 2 years ago

I have the same issue, it shows sensor or listener is null Mobile : Moto e7 plus Model : XT2081-2 Android version : 10

did u find a solution? can u please tell me how can we check if a device supports a particular sensor in flutter ? i could'nt find it anywhere