You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/04/09 23:43:18 UTC

[jira] [Resolved] (CB-6381) getCurrentHeading method calls the error handler with unexpected error object if device does not support compass.

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

Jesse MacFadyen resolved CB-6381.
---------------------------------

    Resolution: Fixed

> 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.2.0, 3.3.0, 3.4.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)