Xamarin.Plugin.DeviceOrientation icon indicating copy to clipboard operation
Xamarin.Plugin.DeviceOrientation copied to clipboard

Cross-platform plugin to work with screen orientation of mobile device.

Results 15 Xamarin.Plugin.DeviceOrientation issues
Sort by recently updated
recently updated
newest added

First of all, thank you @wcoder for this plugin. It's great and really does the job for us 👍 -- The issue -- We get this build warning. Thank you...

DeviceOrientationImplementation.set_IsListenerEnabled (System.Boolean value) System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Plugin.DeviceOrientation.OrientationListener'. This is thrown when the following override in the MainActivity is called after switching away from app and...

Android

lock for landscape first, then unlock, the screen remains landscape,even if the device is potrait.

need more info
iOS

Currently, Xamarin.Plugin.DeviceOrientation uses the Plugin.CurrentActivity nuget package in the Android implementation to access the current activity. This is the same behavior as many plugins use. However, since the rise of...

Tried to use the nuget package without success, so I cloned the repo and started the sample app on an ipad with ios 11.3.1. Screen rotates even if label says...

help wanted
need feedback
iOS

In the device compatibility, this is listed: v2.0 updated to NetStandard 2.0, but there is no v2.0 and the Plugin doesn't work with iOS with NetStandard 2.0.

I am using this plugin in my xamarin forms app. But when I want to change the orientation to Landscape app getting crash and giving me a NullReferenceException in Android....

xamarin.forms
Android

Hi, in my app I need to change to PortraitFlipped at one time. But when I try to do this, the app crashes with this error: _Foundation.MonoTouchException: Objective-C exception thrown....

bug
need feedback
xamarin.forms
iOS

On iOS, everything is perfectly fine, but as soon as I use this on Android, everything is switched around? When I rotate the device and print out the orientation, it...

bug
need feedback
Android

`CrossDeviceOrientation.Current.CurrentOrientation` is reversed on some Android tablets. I guess this is because some tablets are in landscape mode by default. We could reproduce this with: * Sony Xperia Tablet Z2...

Android