From fb608698e5c97e18da8bb1d6f73621bb3676ebfe Mon Sep 17 00:00:00 2001 From: sgrebnov Date: Fri, 30 Jan 2015 14:57:10 +0300 Subject: [PATCH] CB-8384 Add Windows section to Network Information plugin --- plugin.xml | 9 ++++++++- src/{windows8 => windows}/NetworkInfoProxy.js | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) rename src/{windows8 => windows}/NetworkInfoProxy.js (95%) diff --git a/plugin.xml b/plugin.xml index e87783a..34fc4c6 100644 --- a/plugin.xml +++ b/plugin.xml @@ -145,7 +145,14 @@ xmlns:android="http://schemas.android.com/apk/res/android" - + + + + + + + + diff --git a/src/windows8/NetworkInfoProxy.js b/src/windows/NetworkInfoProxy.js similarity index 95% rename from src/windows8/NetworkInfoProxy.js rename to src/windows/NetworkInfoProxy.js index b987718..1f11aad 100644 --- a/src/windows8/NetworkInfoProxy.js +++ b/src/windows/NetworkInfoProxy.js @@ -47,6 +47,7 @@ module.exports = { connectionType = Connection.NONE; } else { + // https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.connectivity.networkadapter.ianainterfacetype switch (interfaceType) { case 71: connectionType = Connection.WIFI;