[ 
https://issues.apache.org/jira/browse/CB-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978642#comment-13978642
 ] 

ASF subversion and git services commented on CB-6381:
-----------------------------------------------------

Commit 051ecbaa7f00e213e25ba253355082bcf77100fe in 
cordova-plugin-device-orientation's branch refs/heads/master 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)

Reply via email to