You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/09 23:43:15 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13964700#comment-13964700 ]
ASF subversion and git services commented on CB-6381:
-----------------------------------------------------
Commit 051ecbaa7f00e213e25ba253355082bcf77100fe in cordova-plugin-device-orientation's branch refs/heads/dev from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-orientation.git;h=051ecba ]
CB-6381 unexpected error object [WP8]
> 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)