Can you please add support for UWP or Windows Phone (none Silverlight platform)
Here is proposal
using System;
using Xamarin.Forms;
using Windows.Devices.Sensors;
using System.Windows;
using Windows.UI.ViewManagement;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;
[assembly: Dependency(typeof(DeviceOrientationImplementation))]
namespace MyRootNameSpace
{
///
/// DeviceOrientation Implementation
///
public class DeviceOrientationImplementation : IDeviceOrientation
{
///
/// Used for registration with dependency service
///
public static void Init()
{
}
Can you please add support for UWP or Windows Phone (none Silverlight platform) Here is proposal
using System; using Xamarin.Forms;
using Windows.Devices.Sensors; using System.Windows;
using Windows.UI.ViewManagement; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml.Navigation;
[assembly: Dependency(typeof(DeviceOrientationImplementation))] namespace MyRootNameSpace { ///
/// DeviceOrientation Implementation
///
public class DeviceOrientationImplementation : IDeviceOrientation
{
///
/// Used for registration with dependency service
///
public static void Init()
{
}
}