cordova-plugin-sensors icon indicating copy to clipboard operation
cordova-plugin-sensors copied to clipboard

We can getState always only for one Sensor

Open mburger81 opened this issue 6 years ago • 2 comments

Hello, we try to use your plugin in ionic, we did the test also on plain cordova plugin without ionic.

The problem is getState returns always only the first inserted Sensor, so for example if we do cordova.exec(null, null, "Sensors", "start", ['LIGHT', 'PRESSURE']); result getState, success: (3) [207, 3667, 207] getState returns always an Array of 3 values which seems to be only for the LIGHT, we did the test with many sensors and also in many combinations with always the same result

mburger81 avatar Dec 13 '18 10:12 mburger81

I have the same issue...

madmandrew avatar Aug 16 '19 02:08 madmandrew

Same here!

Nekorra avatar Feb 16 '23 01:02 Nekorra