You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2024. It is now read-only.
Description
Steps to Reproduce
run the Essentials Sample app inside a Windows 10 VM that is powered by VMware Workstation.
Expected Behavior
static DeviceType GetDeviceType()returnsDeviceType.VirtualActual Behavior
static DeviceType GetDeviceType()returnsDeviceType.PhysicalBasic Information
Screenshots
Reproduction Link
your sample:
https://github.com/xamarin/Essentials/tree/master/Samples
possible Fix
change
var isVirtual = deviceInfo.SystemProductName == "Virtual";tovar isVirtual = deviceInfo.SystemProductName.Contains("Virtual");at https://github.com/xamarin/Essentials/blob/master/Xamarin.Essentials/DeviceInfo/DeviceInfo.uwp.cs#L64