caleb87 opened a new issue, #85:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/85

   ## Problem
   On a Samsung Galaxy S23 Ultra, the compass is about 40 degrees off. The 
compass shows 320 degrees when pointing north. It's off 40 degrees while 
pointing any directions. The Google Maps app shows the compass pointing in the 
correct direction, so I assume the phone operating system has the accurate 
compass?
   
   
   ### What is expected to happen?
   Compass heading is accurate.
   
   
   ### What does actually happen?
   Compass heading is not accurate.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   ```
   navigator.compass.watchHeading(function(a) {
     // returns {magneticHeading: 323.75201416015625, trueHeading: 
323.75201416015625, headingAccuracy: 0, timestamp: 1725987545312} while 
pointing north (0/360)
   }
   ```
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova CLI 12.0.0
   Android 13.0
   Plugin 3.0.0
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to