wcoder / Xamarin.Plugin.DeviceOrientation

Cross-platform plugin to work with screen orientation of mobile device.
MIT License
61 stars 19 forks source link

Portrait and landscape orientations are opposite of expected #5

Closed philipogorman closed 6 years ago

philipogorman commented 6 years ago

I am testing on a real device and an emulator on android, the library picks up the orientation change ok but the but the orientation detected is opposite of what is expected. "Plugin.DeviceOrientation" version="1.0.5"

wcoder commented 6 years ago

Hi @philipogorman! Thanks for your feedback!

What Android version of your emulator/real device do you use?

philipogorman commented 6 years ago

Simulator: Android_Accelerated_Nougaut(Android 7.1 -API 25) Device: ASUS P028 Android 7.0

avinash-ramireddy commented 6 years ago

Any update?

Also OrientationChanged is hitting many times(lost count-50+ or more I don't know...) while debugging.

wcoder commented 6 years ago

Thanks for your feedback! Currently, I will try to reproduce it (orientation detected is opposite).

created issue #6

wcoder commented 6 years ago

@philipogorman do you use a plugin in Xamarin.Forms or native Xamarin Android app?

wcoder commented 6 years ago

Again, I checked the last version of the plugin on different Android versions, on emulators and devices.

The plugin works correctly.

I will close that issue, but if you have more information about this, please write me.