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

ASF GitHub Bot commented on CB-9179:
------------------------------------

Github user alsorokin commented on a diff in the pull request:

    
https://github.com/apache/cordova-plugin-device-orientation/pull/31#discussion_r86310927
  
    --- Diff: tests/tests.js ---
    @@ -157,6 +157,19 @@ exports.defineManualTests = function (contentEl, 
createActionButton) {
             document.getElementById('compass_status').innerHTML = status;
         }
     
    +    // Success callback for both watchHeading and getCurrentHeading
    +    function success(a) {
    +        var magneticheading = document.getElementById('magneticHeading');
    --- End diff --
    
    Thanks for catching it. I wonder why it appeared to be working when I was 
testing it...


> [ios] the trueHeading property is still null after use 
> navigator.geolocation.watchLocation()
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-9179
>                 URL: https://issues.apache.org/jira/browse/CB-9179
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device Orientation
>    Affects Versions: 5.0.0
>         Environment: iOS 8.3
> cordova-plugin-device-orientation 1.0.0
>            Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according this
> https://github.com/apache/cordova-plugin-device-orientation
> it said...
> The trueHeading property is only returned for location services enabled via 
> navigator.geolocation.watchLocation().
> but in fact...the trueHeading property is still null after use 
> navigator.geolocation.watchLocation()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to