flutter_compass icon indicating copy to clipboard operation
flutter_compass copied to clipboard

Version: 0.7.0 - Android - Heading is showing negative figure

Open moosalim opened this issue 2 years ago • 10 comments

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

moosalim avatar Nov 12 '21 04:11 moosalim

Same issue for me.

thanhhuan1990 avatar Nov 16 '21 06:11 thanhhuan1990

same issue

bhanuka96 avatar Dec 13 '21 18:12 bhanuka96

@hemanthrajv

We need your support please

moosalim avatar Dec 28 '21 18:12 moosalim

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

thanhhuan1990 avatar Dec 29 '21 01:12 thanhhuan1990

Thanks @thanhhuan1990 it works fine now

moosalim avatar Dec 29 '21 10:12 moosalim

Any updates on this? @hemanthrajv

Ihavetoturnmyhead avatar Jan 12 '22 12:01 Ihavetoturnmyhead

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 avatar Jan 12 '22 12:01 Ihavetoturnmyhead

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.

Ihavetoturnmyhead avatar Jan 12 '22 14:01 Ihavetoturnmyhead

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.

hamzakhurshid12 avatar Feb 17 '22 10:02 hamzakhurshid12

same issue. any update ?

fvisticot avatar Dec 28 '22 19:12 fvisticot