react-native-compass-heading icon indicating copy to clipboard operation
react-native-compass-heading copied to clipboard

Compass loses North after couple rotations

Open dl-husky73 opened this issue 5 years ago • 4 comments

I like this package, exactly what I was looking for! Lightweight, simple compass. But I notice if I am using, rotate my phone for a few seconds (like when walking) then pause, then move phone again my true north changes where it is pointing. So it is perfect initially but on pause, I am not sure what happens but loses true north.
My Android Phone Test: (against a real compass in my hand) In my test, I lay the phone flat in palm (right angle) pointing away from my body. True north is correct. I slowly reverse the phone so it is facing my body (180' turn), still at a right angle. True north is off by 90' or so.
When I continue clockwise to finish my 360 circle and put phone back in original position it slowly gets closer and when I get fully back to where I started, true north is correct.

dl-husky73 avatar Jul 08 '20 18:07 dl-husky73

I see no updates here, are you not managing the package at all?

dl-husky73 avatar Jul 21 '20 13:07 dl-husky73

I created this package for a project I was working on. it worked perfectly for my need. I haven't spent much time on this since then. Feel free to add a PR if you find an issue.

firofame avatar Aug 14 '20 14:08 firofame

Can we somehow make a qibla direction compass using this package ??

Umair115 avatar Dec 08 '20 12:12 Umair115

Assalamu alaykum, @Umair115 Do you find any Solution for Making qibla direction ?

ApWin avatar Mar 12 '21 12:03 ApWin