cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francisco Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-8132) Accelerometer: clearWatch not stopping
Date Fri, 05 Dec 2014 19:36:13 GMT

     [ https://issues.apache.org/jira/browse/CB-8132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francisco Gutierrez closed CB-8132.
-----------------------------------
    Resolution: Fixed

was an issue with my JS and not the plugin.  sorry

> Accelerometer: clearWatch not stopping
> --------------------------------------
>
>                 Key: CB-8132
>                 URL: https://issues.apache.org/jira/browse/CB-8132
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device Motion
>    Affects Versions: 3.5.0, 4.1.3
>         Environment: On my Samsung Galaxy S3, Android 4.4.4,  CyanogenMod 11-2014112-snapshot-M12-d2lte
>            Reporter: Francisco Gutierrez
>
> When I start watchAcceleration like this:
> {code}
> var watchId = navigator.accelerometer.watchAcceleration(callBack, handleError, { frequency:
300 });
> {code}
> and then use clearWatch like this:
> {code}
> navigator.accelerometer.clearWatch(watchId);
> {code}
> My callBack function is still being executed at the frequency I supplied.  clearWatch
doesn't seem to be working



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message