Add `isVirtual` for Windows 8.x (Phone) platforms
authorPhilipp Kursawe <phil.kursawe@gmail.com>
Tue, 27 Oct 2015 11:34:24 +0000 (12:34 +0100)
committerPhilipp Kursawe <phil.kursawe@gmail.com>
Tue, 27 Oct 2015 11:34:24 +0000 (12:34 +0100)
commit05787ac65b71988b360c367521c82897f006fe40
treefaacadea3894c8ef2b69667d5e2f4909d861c9a7
parent408c3a20be976ca5b814c9f161c31d4edf1c00fc
Add `isVirtual` for Windows 8.x (Phone) platforms

Sets `isVirtual` to true when:
- Running in Simulator on Windows 8.x/10
- Running in Windows Phone 8.x Emulator

This also uses the `Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation` to get the manufacturer instead of querying this from the PnP devices.

Not tested with Windows 10 Mobile Emulator, but should be the same as Windows 8.1 Phone.
README.md
src/windows/DeviceProxy.js