-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.5.0, 4.1.3
-
Fix Version/s: None
-
Component/s: cordova-plugin-device-motion (DEPRECATED)
-
Labels:None
-
Environment:
On my Samsung Galaxy S3, Android 4.4.4, CyanogenMod 11-2014112-snapshot-M12-d2lte
When I start watchAcceleration like this:
var watchId = navigator.accelerometer.watchAcceleration(callBack, handleError, { frequency: 300 });
and then use clearWatch like this:
navigator.accelerometer.clearWatch(watchId);
My callBack function is still being executed at the frequency I supplied. clearWatch doesn't seem to be working