Open JoshuaNovak919 opened 8 years ago
I ran into an issue with the plugin stating the wrong orientation for certain devices. I ended up using this code and it worked for all devices.
var activity = (Activity)Xamarin.Forms.Forms.Context; return (activity.Resources.Configuration.Orientation.ToString() == "Landscape")? DeviceOrientations.Landscape : DeviceOrientations.Portrait;
The main devices I had issues with were Sony Xperia Tablets, specifically the Xperia Tablet Z.
Sony Xperia Tablets
Xperia Tablet Z
@JoshuaNovak919 strange. The plugin uses the method described in this API guide
I ran into an issue with the plugin stating the wrong orientation for certain devices. I ended up using this code and it worked for all devices.
The main devices I had issues with were
Sony Xperia Tablets
, specifically theXperia Tablet Z
.