From 9535770c344f1c738eb43b5230b779bceb8dd2a3 Mon Sep 17 00:00:00 2001 From: Brynjulf B Risbakken Date: Thu, 28 Mar 2019 09:50:06 +0100 Subject: [PATCH 1/3] dynamic pathing for windows, actual diff to #357 --- windows/RNDeviceInfo/RNDeviceInfo.csproj | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/windows/RNDeviceInfo/RNDeviceInfo.csproj b/windows/RNDeviceInfo/RNDeviceInfo.csproj index fb918f219..c5a9e1c72 100644 --- a/windows/RNDeviceInfo/RNDeviceInfo.csproj +++ b/windows/RNDeviceInfo/RNDeviceInfo.csproj @@ -16,6 +16,11 @@ 14 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + ..\..\node_modules + PackageReference + + + ..\..\.. AnyCPU @@ -117,7 +122,7 @@ - + {c7673ad5-e3aa-468c-a5fd-fa38154e205c} ReactNative From ae8217f5b4bb5afae733bdde494c584bd7d5c79f Mon Sep 17 00:00:00 2001 From: Brynjulf B Risbakken Date: Thu, 28 Mar 2019 10:00:14 +0100 Subject: [PATCH 2/3] updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0521bf503..9d3821422 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * fix: Use API-specific permissions to get phone number (https://github.com/react-native-community/react-native-device-info/pull/269) * fix: Add OnePlus A6010 to devicesWithNothc list (https://github.com/react-native-community/react-native-device-info/pull/604) * fix: use reactContext vs getApplicationContext() (https://github.com/react-native-community/react-native-device-info/pull/382) + * fix: dynamic reference path on windows depending on environment (https://github.com/react-native-community/react-native-device-info/pull/608) ### 1.1.0 * Add `supportedABIs()` (https://github.com/react-native-community/react-native-device-info/pull/598) From a1822d4964022dbe35b3c5fe04fad10abc15881c Mon Sep 17 00:00:00 2001 From: Brynjulf B Risbakken Date: Thu, 28 Mar 2019 10:06:15 +0100 Subject: [PATCH 3/3] removed unecessary attribute --- windows/RNDeviceInfo/RNDeviceInfo.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/windows/RNDeviceInfo/RNDeviceInfo.csproj b/windows/RNDeviceInfo/RNDeviceInfo.csproj index c5a9e1c72..ff5bab807 100644 --- a/windows/RNDeviceInfo/RNDeviceInfo.csproj +++ b/windows/RNDeviceInfo/RNDeviceInfo.csproj @@ -17,7 +17,6 @@ 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} ..\..\node_modules - PackageReference ..\..\..