How to get absolute compass heading on Cordova Android platform
问题 I am developping an hybrid App using Cordova on Android platform. I would like to get the compass heading between my device orientation and the true North. However the 'deviceorientationabsolute' event (as documented here https://developers.google.com/web/updates/2016/03/device-orientation-changes) currently gives me the compass value relative to the initial orientation of my device. I was expecting an absolute value in reference to the true North. Using chrome console, I debugged my device