cordova-plugin-sensors
cordova-plugin-sensors copied to clipboard
We can getState always only for one Sensor
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
I have the same issue...
Same here!