Markus Wagner created CB-9234:
---------------------------------

             Summary: WP8: navigator.compass.watchHeading() fails often, if 
frequency is too small
                 Key: CB-9234
                 URL: https://issues.apache.org/jira/browse/CB-9234
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Device Orientation
            Reporter: Markus Wagner


The WP8 implementation of getHeading() checks every 100 ms, if the sensor 
returned already data. Since watchHeading calls also getHeading, this can 
produce the error 4 (ErrorFailedToStart). This happens quite often with a 
frequency < 300 ms.

Unfortunately, the default value for frequency is 100 ms.



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

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

Reply via email to