flutter_compass icon indicating copy to clipboard operation
flutter_compass copied to clipboard

Different behavior in IOS and Android

Open rlueders opened this issue 4 years ago • 0 comments

When using this plugin on my IOS devices, the plugin reports the correct heading out the back of device (along the z axis) when the device is oriented vertically. However, on my Android devices, when held vertically, the plugin does not report an accurate heading. It appears that on Android devices, the plugin attempts to get a heading along the y axis which is pointing directly up/vertical. Why doesnt the Android version of the plugin get a heading along the z axis when oriented vertically, as the IOS version seems to be doing.

I Tested on a Pixel 2 and Pixel 4 with the same negative behavior. Any thoughts?

rlueders avatar Dec 18 '20 23:12 rlueders