Kristian Dimitrov Dimitrov created CB-6381:
----------------------------------------------

             Summary: getCurrentHeading method calls the error handler with 
unexpected error object if device does not support compass.
                 Key: CB-6381
                 URL: https://issues.apache.org/jira/browse/CB-6381
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Device Orientation, WP8
    Affects Versions: 3.4.0, 3.3.0, 3.2.0
         Environment: WP8 with device that does not have compass support.
            Reporter: Kristian Dimitrov Dimitrov
            Assignee: Jesse MacFadyen
            Priority: Minor


Using the Device orientation plugin api, if you call getCurrentHeading on a WP8 
device that does not have hardware support for compass, the error handler is 
called with unexpected error object:
{
   "code": {
      "code" : 20
   }
}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to