hemanthrajv / flutter_compass

MIT License
102 stars 188 forks source link

Version: 0.7.0 - Android - Heading is showing negative figure #75

Open moosalim opened 3 years ago

moosalim commented 3 years ago

For version 0.7.0, in Android only, the heading is showing negative values for almost half of the round.

I had to use v 0.6.1 to get correct heading , however v. 0.6.1 shows warning related to Android Embedding

no issues in IOS

@hemanthrajv

thanhhuan1990 commented 3 years ago

Same issue for me.

bhanuka96 commented 2 years ago

same issue

moosalim commented 2 years ago

@hemanthrajv

We need your support please

thanhhuan1990 commented 2 years ago

hi @moosalim , I temporarily fixed this issue in my repo, please use this first while waiting for fixed from root repo. https://github.com/thanhhuan1990/flutter_compass

moosalim commented 2 years ago

Thanks @thanhhuan1990 it works fine now

Ihavetoturnmyhead commented 2 years ago

Any updates on this? @hemanthrajv

Ihavetoturnmyhead commented 2 years ago

A friend of mine is gonna go to flight school soon. I want to make a compass app for him. I’d appreciate an update or a fix for this!

Ihavetoturnmyhead commented 2 years ago

Hello @thanhhuan1990 I can’t seem to find the android/src/main/java/com/hemanthraj/fluttercompass/FlutterCompassPlugin.java file. Cannot locate the com folder in java.

hamzakhurshid12 commented 2 years ago

The values of the compass heading actually do change, but the values are not correct. It is something like 0.000000273 at an angle that should be 90 degrees.

Tested on Android 10: The problem is there. Tested on Android 11: Working fine.

fvisticot commented 1 year ago

same issue. any update ?