Bug Report
Problem
I've had an app released for a few years using this plugin to provide magnetic heading data in order to orient a compass. Increasingly in the last year I've had customers report that the compass isn't working on a selection of android phones, all of which have magnetometer sensors.
Devices are:
Motorola Razr 5g
Sony Xperia 5 ii
Motorola G6
What does actually happen?
navigator.compass is returning false, implying that the compass sensor is not recognised.
Investigated switching to W3C orientation, but it does not give magnetic heading so is not fit for purpose. This plugin has been great for me.
Information
Using plugin v2.01 - Cordova 9.0
Checklist
- [ 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
Bug Report
Problem
I've had an app released for a few years using this plugin to provide magnetic heading data in order to orient a compass. Increasingly in the last year I've had customers report that the compass isn't working on a selection of android phones, all of which have magnetometer sensors.
Devices are:
Motorola Razr 5g
Sony Xperia 5 ii
Motorola G6
What does actually happen?
navigator.compass is returning false, implying that the compass sensor is not recognised.
Investigated switching to W3C orientation, but it does not give magnetic heading so is not fit for purpose. This plugin has been great for me.
Information
Using plugin v2.01 - Cordova 9.0
Checklist