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

Filip Maj resolved CB-943.
--------------------------

    Resolution: Fixed

Fixed in 
[46bff1|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=46bff14c07197131c067f69976827d38882ac6b0].

I dropped the polling time from 100ms to 40ms. I tried 10ms but it would behave 
very erratically on older devices (presumably the ones that don't support 
polling times that are less than 40ms). Therefore to play it safe, we'll use 
the minimum acceptable value which will work on all iOS devices: 40ms.
                
> Accelerometer update interval conflict
> --------------------------------------
>
>                 Key: CB-943
>                 URL: https://issues.apache.org/jira/browse/CB-943
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.7.0, 1.8.0, 1.8.1
>            Reporter: Freddy Phillips
>            Assignee: Filip Maj
>             Fix For: 1.9.0
>
>
> https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVAccelerometer.m#L34
> Accelerometer values are updated every 100ms even tough iOS supports 10ms 
> update interval and update interval (on JS side) can be set to 40ms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to