[
https://issues.apache.org/jira/browse/CB-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629564#comment-15629564
]
ASF GitHub Bot commented on CB-9179:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-plugin-device-orientation/pull/31
CB-9179 (ios) Fixed trueHeading being always 0
### Platforms affected
iOS
### What does this PR do?
Fixes https://issues.apache.org/jira/browse/CB-9179
trueHeading is always 0 on iOS
### What testing has been done on this change?
Tested manually on iPhone 6S Plus
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change. -
_added manual test_
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alsorokin/cordova-plugin-device-orientation
CB-9179
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-device-orientation/pull/31.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #31
----
commit c33285c165231f06c7ac85929fb157c29bccd6c9
Author: alsorokin <[email protected]>
Date: 2016-11-02T16:03:01Z
CB-9179 (ios) Fixed trueHeading being always 0
----
> [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]