Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-device-info
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-device-info
Commits
b159208c
Commit
b159208c
authored
Oct 23, 2018
by
James McGinty
Committed by
Mehdi Achour
Oct 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Support React Native Windows 0.57 (#507)
Fixes #151 #505
parent
3b3d8bbc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
49 deletions
+42
-49
CHANGELOG.md
CHANGELOG.md
+3
-0
RNDeviceInfo.csproj
windows/RNDeviceInfo/RNDeviceInfo.csproj
+15
-11
RNDeviceInfo.sln
windows/RNDeviceInfo/RNDeviceInfo.sln
+24
-21
project.json
windows/RNDeviceInfo/project.json
+0
-17
No files found.
CHANGELOG.md
View file @
b159208c
## Release Notes
### 0.24.3
*
Support React Native Windows 0.57
### 0.24.2
*
Update typescript definitions (https://github.com/rebeccahughes/react-native-device-info/pull/498)
...
...
windows/RNDeviceInfo/RNDeviceInfo.csproj
View file @
b159208c
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"1
4
.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Project
ToolsVersion=
"1
5
.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{
C56790CE-79E5-4D7D-BEB7-8403E70BB0E4
}
</ProjectGuid>
<ProjectGuid>
{
A8C0D290-F49E-4ACF-ABF4-FF8A95D29887
}
</ProjectGuid>
<OutputType>
Library
</OutputType>
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
RNDeviceInfo
</RootNamespace>
<AssemblyName>
RNDeviceInfo
</AssemblyName>
<DefaultLanguage>
en-US
</DefaultLanguage>
<TargetPlatformIdentifier>
UAP
</TargetPlatformIdentifier>
<TargetPlatformVersion>
10.0.14393.0
</TargetPlatformVersion>
<TargetPlatformMinVersion>
10.0.1
0586
.0
</TargetPlatformMinVersion>
<TargetPlatformVersion
Condition=
" '$(TargetPlatformVersion)' == '' "
>
10.0.14393.0
</TargetPlatformVersion>
<TargetPlatformMinVersion>
10.0.1
4393
.0
</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>
14
</MinimumVisualStudioVersion>
<FileAlignment>
512
</FileAlignment>
<ProjectTypeGuids>
{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
</ProjectTypeGuids>
...
...
@@ -102,18 +102,22 @@
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
</PropertyGroup>
<PropertyGroup>
<RestoreProjectStyle>
PackageReference
</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<None
Include=
"project.json"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"RNDeviceInfoPackage.cs"
/>
<Compile
Include=
"RNDeviceInfoModule.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"RNDeviceInfoModule.cs"
/>
<Compile
Include=
"RNDeviceInfoPackage.cs"
/>
<EmbeddedResource
Include=
"Properties\RNDeviceInfo.rd.xml"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj"
>
<PackageReference
Include=
"Microsoft.NETCore.UniversalWindowsPlatform"
>
<Version>
6.1.7
</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\..\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj"
>
<Project>
{c7673ad5-e3aa-468c-a5fd-fa38154e205c}
</Project>
<Name>
ReactNative
</Name>
</ProjectReference>
...
...
windows/RNDeviceInfo/RNDeviceInfo.sln
View file @
b159208c
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 1
4
VisualStudioVersion = 1
4.0.25420.
1
# Visual Studio 1
5
VisualStudioVersion = 1
5.0.28010.204
1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R
NDeviceInfo", "RNDeviceInfo.csproj", "{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4
}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R
eactNative", "..\..\..\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C
}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R
eactNative", "..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C
}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R
NDeviceInfo", "RNDeviceInfo.csproj", "{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887
}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\..\
node_modules
\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4
..\..\
..
\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -22,22 +22,6 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|ARM.ActiveCfg = Debug|ARM
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|ARM.Build.0 = Debug|ARM
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|x64.ActiveCfg = Debug|x64
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|x64.Build.0 = Debug|x64
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|x86.ActiveCfg = Debug|x86
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Debug|x86.Build.0 = Debug|x86
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|Any CPU.Build.0 = Release|Any CPU
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|ARM.ActiveCfg = Release|ARM
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|ARM.Build.0 = Release|ARM
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|x64.ActiveCfg = Release|x64
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|x64.Build.0 = Release|x64
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|x86.ActiveCfg = Release|x86
{C56790CE-79E5-4D7D-BEB7-8403E70BB0E4}.Release|x86.Build.0 = Release|x86
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|Any CPU.ActiveCfg = Debug|x86
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.ActiveCfg = Debug|ARM
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.Build.0 = Debug|ARM
...
...
@@ -52,8 +36,27 @@ Global
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.Build.0 = Release|x64
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.ActiveCfg = Release|x86
{C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.Build.0 = Release|x86
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|ARM.ActiveCfg = Debug|ARM
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|ARM.Build.0 = Debug|ARM
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|x64.ActiveCfg = Debug|x64
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|x64.Build.0 = Debug|x64
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|x86.ActiveCfg = Debug|x86
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Debug|x86.Build.0 = Debug|x86
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|Any CPU.Build.0 = Release|Any CPU
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|ARM.ActiveCfg = Release|ARM
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|ARM.Build.0 = Release|ARM
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|x64.ActiveCfg = Release|x64
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|x64.Build.0 = Release|x64
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|x86.ActiveCfg = Release|x86
{A8C0D290-F49E-4ACF-ABF4-FF8A95D29887}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E29B5E33-1460-4646-9D9E-C03E9676F622}
EndGlobalSection
EndGlobal
windows/RNDeviceInfo/project.json
deleted
100644 → 0
View file @
3b3d8bbc
{
"dependencies"
:
{
"Microsoft.NETCore.UniversalWindowsPlatform"
:
"5.2.2"
},
"frameworks"
:
{
"uap10.0"
:
{}
},
"runtimes"
:
{
"win10-arm"
:
{},
"win10-arm-aot"
:
{},
"win10-x86"
:
{},
"win10-x86-aot"
:
{},
"win10-x64"
:
{},
"win10-x64-aot"
:
{}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment