You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/04/23 13:34:39 UTC

[jira] [Commented] (CB-8876) WP8 Accelerometer implementation is unstable, causing autotests to fail

    [ https://issues.apache.org/jira/browse/CB-8876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508860#comment-14508860 ] 

ASF GitHub Bot commented on CB-8876:
------------------------------------

GitHub user alsorokin opened a pull request:

    https://github.com/apache/cordova-plugin-device-motion/pull/27

    CB-8876 Rewrote wp8 impementation to be more stable

    https://issues.apache.org/jira/browse/CB-8876

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-device-motion CB-8876

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-device-motion/pull/27.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #27
    
----
commit 3950ab7b6b3f8fb74896ec3ee0d77e52773a38c6
Author: alsorokin <al...@akvelon.com>
Date:   2015-04-23T08:32:31Z

    CB-8876 Rewrote wp8 impementation to be more stable

----


> WP8 Accelerometer implementation is unstable, causing autotests to fail
> -----------------------------------------------------------------------
>
>                 Key: CB-8876
>                 URL: https://issues.apache.org/jira/browse/CB-8876
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device Motion, WP8
>            Reporter: Alexander Sorokin
>            Assignee: Jesse MacFadyen
>
> Autotests occasionally fail on wp8 because accelerometer implementation on wp8 tries to call success callback too many times, even after sop() call, which causes some race conditions in accelerometer.js and as a result, it sometimes returns string "OK" instead of acceleration values.
> WP8 implementation needs to be rewritten to provide more reliable and stable values.



--
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