Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
The getCurrentAcceleration() code currently invokes the success or fail callbacks prior to clearing the listener. If the invoked success or fail callbacks take a long time it can result in them being invoked multiple times since the accelerometer continues to report data until the listener is removed.
Quick fix is to clear the listener prior to invoking the callbacks.