[ https://issues.apache.org/jira/browse/CB-9234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vishal Mishra closed CB-9234. ----------------------------- Resolution: Fixed With the [W3C Device Orientation API|https://www.w3.org/TR/2016/CR-orientation-event-20160818/] now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Migrating from this plugin to the [W3C Device Orientation API|https://www.w3.org/TR/2016/CR-orientation-event-20160818/] is explained in this [PhoneGap blog post|https://blog.phonegap.com/migrating-from-the-cordova-device-orientation-plugin-8442b869e6cc]. > 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: cordova-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.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org