You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/22 11:33:42 UTC
[GitHub] [cordova-plugin-device-orientation] chrisgeorge0911 opened a new issue #64: Increasing reports of compass not working on some android devices
chrisgeorge0911 opened a new issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64
# 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
<!-- Include all relevant information that might help understand and reproduce the problem -->
Using plugin v2.01 - Cordova 9.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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-device-orientation] chrisgeorge0911 commented on issue #64: Increasing reports of compass not working on some android devices
Posted by GitBox <gi...@apache.org>.
chrisgeorge0911 commented on issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64#issuecomment-1007210107
Another report of this
Nokia 8.3
Android 11
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-device-orientation] chrisgeorge0911 commented on issue #64: Increasing reports of compass not working on some android devices
Posted by GitBox <gi...@apache.org>.
chrisgeorge0911 commented on issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64#issuecomment-1007210107
Another report of this
Nokia 8.3
Android 11
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-device-orientation] alexbainbridge commented on issue #64: Increasing reports of compass not working on some android devices
Posted by GitBox <gi...@apache.org>.
alexbainbridge commented on issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64#issuecomment-867629288
What did you do in the end @chrisgeorge0911 ? We are using this plugin and struggling to get compass on android on devices are are sure have the right sensors.
I think we may end up using this plugin for iOS (as is native, so no permission request issues) and W3C or similar (like Capacitor Motion) for Android.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-device-orientation] HarelM commented on issue #64: Increasing reports of compass not working on some android devices
Posted by GitBox <gi...@apache.org>.
HarelM commented on issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64#issuecomment-950217759
I've just got my first report from an android device:
Manufacture: OnePlus
Model: HD1913
Platform: Android
OS version: 11
I see an error in the log, but I get Error: [object Object], probably due to bad formatting of the error on my part.
I can't use W3C due to iOS "localhost" issue and all other kind of bugs and quirks.
If anyone finds the problem before I do please let me know, I'll see to what extent the user who's facing this issue will go.
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-device-orientation] chrisgeorge0911 commented on issue #64: Increasing reports of compass not working on some android devices
Posted by GitBox <gi...@apache.org>.
chrisgeorge0911 commented on issue #64:
URL: https://github.com/apache/cordova-plugin-device-orientation/issues/64#issuecomment-867636361
I haven't done anything yet... the numbers reporting the issue are still fairly small (I have more iOS customers than android at the moment)... but I fear it's only going to get worse. The problem I've found with W3C is that it's not oriented around North, so no good for a compass (or at least I could not get this to work).
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org