[
https://issues.apache.org/jira/browse/CB-8083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226549#comment-14226549
]
ASF GitHub Bot commented on CB-8083:
------------------------------------
GitHub user sgrebnov opened a pull request:
https://github.com/apache/cordova-plugin-device-motion/pull/21
CB-8083 Fix accelerometer callback on Windows
https://issues.apache.org/jira/browse/CB-8083
This patch adds keepCallback property to tell proxy preserve callback so
that it could be invoked next time.
Also renamed windows8->windows to match platform name. Duplicate windows8
and windows sections are used for backward compatibility w/ old CLI version w/o
windows universal apps support
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-device-motion
CB-8083
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-device-motion/pull/21.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 #21
----
commit 2fe2227a8eede0f6771780e83029f1499c8873af
Author: sgrebnov <[email protected]>
Date: 2014-11-26T17:54:20Z
Renamed windows8 -> windows
commit 596258c8878491f4457f4bf36d058abdbe514462
Author: sgrebnov <[email protected]>
Date: 2014-11-26T17:56:58Z
CB-8083 Fix accelerometer callback on Windows
----
> Fix accelerometer callback on Windows
> -------------------------------------
>
> Key: CB-8083
> URL: https://issues.apache.org/jira/browse/CB-8083
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Device Motion
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
> Labels: accelerometer, windows
>
> When I use watchAcceleration Api on Windows accelerometerSuccess is called
> only once.
> {code}
> var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
> accelerometerError,
> accelerometerOptions);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]