react-native-share 7.6.4 → 7.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/android/src/main/java/cl/json/social/InstagramStoriesShare.java +3 -1
- package/lib/commonjs/types.js.map +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/types.d.ts +1 -1
- package/package.json +5 -2
- package/src/types.ts +1 -1
- package/windows/.gitignore +16 -2
- package/windows/ExperimentalFeatures.props +10 -0
- package/windows/NuGet.Config +14 -0
- package/windows/ReactNativeShare/PropertySheet.props +16 -0
- package/windows/ReactNativeShare/ReactNativeModule.h +108 -0
- package/windows/ReactNativeShare/ReactNativeShare.def +3 -0
- package/windows/ReactNativeShare/ReactNativeShare.vcxproj +160 -0
- package/windows/ReactNativeShare/ReactNativeShare.vcxproj.filters +20 -0
- package/windows/ReactNativeShare/ReactPackageProvider.cpp +19 -0
- package/windows/ReactNativeShare/ReactPackageProvider.h +21 -0
- package/windows/ReactNativeShare/ReactPackageProvider.idl +9 -0
- package/windows/ReactNativeShare/packages.config +6 -0
- package/windows/ReactNativeShare/pch.cpp +1 -0
- package/windows/ReactNativeShare/pch.h +18 -0
- package/windows/ReactNativeShare.sln +156 -0
- package/windows/RNShare/Properties/AssemblyInfo.cs +0 -29
- package/windows/RNShare/Properties/RNShare.rd.xml +0 -33
- package/windows/RNShare/RNShare.csproj +0 -183
- package/windows/RNShare/RNShareModule.cs +0 -118
- package/windows/RNShare/RNSharePackage.cs +0 -53
- package/windows/RNShare/project.json +0 -16
- package/windows/RNShare.sln +0 -86
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
|
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
3
|
+
# Visual Studio Version 16
|
|
4
|
+
VisualStudioVersion = 16.0.29215.179
|
|
5
|
+
MinimumVisualStudioVersion = 10.0.40219.1
|
|
6
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactNativeShare", "ReactNativeShare\ReactNativeShare.vcxproj", "{BD58576E-3205-4762-8B1B-EA33774079B7}"
|
|
7
|
+
ProjectSection(ProjectDependencies) = postProject
|
|
8
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {F7D32BD0-2749-483E-9A0D-1635EF7E3136}
|
|
9
|
+
EndProjectSection
|
|
10
|
+
EndProject
|
|
11
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folly", "..\node_modules\react-native-windows\Folly\Folly.vcxproj", "{A990658C-CE31-4BCC-976F-0FC6B1AF693D}"
|
|
12
|
+
EndProject
|
|
13
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fmt", "..\node_modules\react-native-windows\fmt\fmt.vcxproj", "{14B93DC8-FD93-4A6D-81CB-8BC96644501C}"
|
|
14
|
+
EndProject
|
|
15
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactCommon", "..\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj", "{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}"
|
|
16
|
+
ProjectSection(ProjectDependencies) = postProject
|
|
17
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {A990658C-CE31-4BCC-976F-0FC6B1AF693D}
|
|
18
|
+
EndProjectSection
|
|
19
|
+
EndProject
|
|
20
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\node_modules\react-native-windows\Chakra\Chakra.vcxitems", "{C38970C0-5FBF-4D69-90D8-CBAC225AE895}"
|
|
21
|
+
EndProject
|
|
22
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
|
23
|
+
EndProject
|
|
24
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
|
25
|
+
EndProject
|
|
26
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\node_modules\react-native-windows\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
|
27
|
+
EndProject
|
|
28
|
+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReactNative", "ReactNative", "{5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}"
|
|
29
|
+
EndProject
|
|
30
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Shared", "..\node_modules\react-native-windows\Shared\Shared.vcxitems", "{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0}"
|
|
31
|
+
EndProject
|
|
32
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mso", "..\node_modules\react-native-windows\Mso\Mso.vcxitems", "{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E}"
|
|
33
|
+
EndProject
|
|
34
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Include", "..\node_modules\react-native-windows\include\Include.vcxitems", "{EF074BA1-2D54-4D49-A28E-5E040B47CD2E}"
|
|
35
|
+
EndProject
|
|
36
|
+
Global
|
|
37
|
+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
|
38
|
+
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
|
39
|
+
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
|
40
|
+
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
|
41
|
+
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
|
42
|
+
..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
|
43
|
+
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
|
44
|
+
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
|
45
|
+
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
|
46
|
+
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
|
47
|
+
EndGlobalSection
|
|
48
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
49
|
+
Debug|ARM64 = Debug|ARM64
|
|
50
|
+
Debug|x64 = Debug|x64
|
|
51
|
+
Debug|x86 = Debug|x86
|
|
52
|
+
Release|ARM64 = Release|ARM64
|
|
53
|
+
Release|x64 = Release|x64
|
|
54
|
+
Release|x86 = Release|x86
|
|
55
|
+
EndGlobalSection
|
|
56
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
57
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
58
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
59
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|ARM64.Deploy.0 = Debug|ARM64
|
|
60
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x64.ActiveCfg = Debug|x64
|
|
61
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x64.Build.0 = Debug|x64
|
|
62
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x64.Deploy.0 = Debug|x64
|
|
63
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x86.ActiveCfg = Debug|Win32
|
|
64
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x86.Build.0 = Debug|Win32
|
|
65
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Debug|x86.Deploy.0 = Debug|Win32
|
|
66
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
67
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|ARM64.Build.0 = Release|ARM64
|
|
68
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|ARM64.Deploy.0 = Release|ARM64
|
|
69
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x64.ActiveCfg = Release|x64
|
|
70
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x64.Build.0 = Release|x64
|
|
71
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x64.Deploy.0 = Release|x64
|
|
72
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x86.ActiveCfg = Release|Win32
|
|
73
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x86.Build.0 = Release|Win32
|
|
74
|
+
{BD58576E-3205-4762-8B1B-EA33774079B7}.Release|x86.Deploy.0 = Release|Win32
|
|
75
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
76
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
77
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.ActiveCfg = Debug|x64
|
|
78
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.Build.0 = Debug|x64
|
|
79
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.ActiveCfg = Debug|Win32
|
|
80
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.Build.0 = Debug|Win32
|
|
81
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
82
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.Build.0 = Release|ARM64
|
|
83
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.ActiveCfg = Release|x64
|
|
84
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.Build.0 = Release|x64
|
|
85
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
|
|
86
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
|
|
87
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
88
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
89
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.ActiveCfg = Debug|x64
|
|
90
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.Build.0 = Debug|x64
|
|
91
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.ActiveCfg = Debug|Win32
|
|
92
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.Build.0 = Debug|Win32
|
|
93
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
94
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.Build.0 = Release|ARM64
|
|
95
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x64.ActiveCfg = Release|x64
|
|
96
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x64.Build.0 = Release|x64
|
|
97
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.ActiveCfg = Release|Win32
|
|
98
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.Build.0 = Release|Win32
|
|
99
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
100
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
101
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x64.ActiveCfg = Debug|x64
|
|
102
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x64.Build.0 = Debug|x64
|
|
103
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.ActiveCfg = Debug|Win32
|
|
104
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.Build.0 = Debug|Win32
|
|
105
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
106
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.Build.0 = Release|ARM64
|
|
107
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.ActiveCfg = Release|x64
|
|
108
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
|
109
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
|
110
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
|
111
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
112
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
113
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.ActiveCfg = Debug|x64
|
|
114
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.Build.0 = Debug|x64
|
|
115
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
|
|
116
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.Build.0 = Debug|Win32
|
|
117
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
118
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.Build.0 = Release|ARM64
|
|
119
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.ActiveCfg = Release|x64
|
|
120
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
|
|
121
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
|
|
122
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
|
|
123
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
|
124
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.Build.0 = Debug|ARM64
|
|
125
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.ActiveCfg = Debug|x64
|
|
126
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.Build.0 = Debug|x64
|
|
127
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.ActiveCfg = Debug|Win32
|
|
128
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Build.0 = Debug|Win32
|
|
129
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Deploy.0 = Debug|Win32
|
|
130
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.ActiveCfg = Release|ARM64
|
|
131
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.Build.0 = Release|ARM64
|
|
132
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.ActiveCfg = Release|x64
|
|
133
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.Build.0 = Release|x64
|
|
134
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.ActiveCfg = Release|Win32
|
|
135
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Build.0 = Release|Win32
|
|
136
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Deploy.0 = Release|Win32
|
|
137
|
+
EndGlobalSection
|
|
138
|
+
GlobalSection(SolutionProperties) = preSolution
|
|
139
|
+
HideSolutionNode = FALSE
|
|
140
|
+
EndGlobalSection
|
|
141
|
+
GlobalSection(NestedProjects) = preSolution
|
|
142
|
+
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
143
|
+
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
144
|
+
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
145
|
+
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
146
|
+
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
147
|
+
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
148
|
+
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
149
|
+
{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
150
|
+
{EF074BA1-2D54-4D49-A28E-5E040B47CD2E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
151
|
+
{14B93DC8-FD93-4A6D-81CB-8BC96644501C} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
|
152
|
+
EndGlobalSection
|
|
153
|
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
154
|
+
SolutionGuid = {D43FAD39-F619-437D-BB40-04A3982ACB6A}
|
|
155
|
+
EndGlobalSection
|
|
156
|
+
EndGlobal
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
using System.Reflection;
|
|
2
|
-
using System.Runtime.CompilerServices;
|
|
3
|
-
using System.Runtime.InteropServices;
|
|
4
|
-
|
|
5
|
-
// General Information about an assembly is controlled through the following
|
|
6
|
-
// set of attributes. Change these attribute values to modify the information
|
|
7
|
-
// associated with an assembly.
|
|
8
|
-
[assembly: AssemblyTitle("RNShare")]
|
|
9
|
-
[assembly: AssemblyDescription("")]
|
|
10
|
-
[assembly: AssemblyConfiguration("")]
|
|
11
|
-
[assembly: AssemblyCompany("")]
|
|
12
|
-
[assembly: AssemblyProduct("RNShare")]
|
|
13
|
-
[assembly: AssemblyCopyright("Copyright © 2016")]
|
|
14
|
-
[assembly: AssemblyTrademark("")]
|
|
15
|
-
[assembly: AssemblyCulture("")]
|
|
16
|
-
|
|
17
|
-
// Version information for an assembly consists of the following four values:
|
|
18
|
-
//
|
|
19
|
-
// Major Version
|
|
20
|
-
// Minor Version
|
|
21
|
-
// Build Number
|
|
22
|
-
// Revision
|
|
23
|
-
//
|
|
24
|
-
// You can specify all the values or you can default the Build and Revision Numbers
|
|
25
|
-
// by using the '*' as shown below:
|
|
26
|
-
// [assembly: AssemblyVersion("1.0.*")]
|
|
27
|
-
[assembly: AssemblyVersion("1.0.0.0")]
|
|
28
|
-
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
29
|
-
[assembly: ComVisible(false)]
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!--
|
|
3
|
-
This file contains Runtime Directives, specifications about types your application accesses
|
|
4
|
-
through reflection and other dynamic code patterns. Runtime Directives are used to control the
|
|
5
|
-
.NET Native optimizer and ensure that it does not remove code accessed by your library. If your
|
|
6
|
-
library does not do any reflection, then you generally do not need to edit this file. However,
|
|
7
|
-
if your library reflects over types, especially types passed to it or derived from its types,
|
|
8
|
-
then you should write Runtime Directives.
|
|
9
|
-
|
|
10
|
-
The most common use of reflection in libraries is to discover information about types passed
|
|
11
|
-
to the library. Runtime Directives have three ways to express requirements on types passed to
|
|
12
|
-
your library.
|
|
13
|
-
|
|
14
|
-
1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter
|
|
15
|
-
Use these directives to reflect over types passed as a parameter.
|
|
16
|
-
|
|
17
|
-
2. SubTypes
|
|
18
|
-
Use a SubTypes directive to reflect over types derived from another type.
|
|
19
|
-
|
|
20
|
-
3. AttributeImplies
|
|
21
|
-
Use an AttributeImplies directive to indicate that your library needs to reflect over
|
|
22
|
-
types or methods decorated with an attribute.
|
|
23
|
-
|
|
24
|
-
For more information on writing Runtime Directives for libraries, please visit
|
|
25
|
-
http://go.microsoft.com/fwlink/?LinkID=391919
|
|
26
|
-
-->
|
|
27
|
-
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
|
|
28
|
-
<Library Name="RNShare">
|
|
29
|
-
|
|
30
|
-
<!-- add directives for your library here -->
|
|
31
|
-
|
|
32
|
-
</Library>
|
|
33
|
-
</Directives>
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
4
|
-
<PropertyGroup>
|
|
5
|
-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
6
|
-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
7
|
-
<ProjectGuid>{4ACDD44C-E556-423E-BD74-B4CEF3E67FF0}</ProjectGuid>
|
|
8
|
-
<OutputType>Library</OutputType>
|
|
9
|
-
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
10
|
-
<RootNamespace>RNShare</RootNamespace>
|
|
11
|
-
<AssemblyName>RNShare</AssemblyName>
|
|
12
|
-
<DefaultLanguage>en-US</DefaultLanguage>
|
|
13
|
-
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
14
|
-
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
|
|
15
|
-
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
|
|
16
|
-
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
|
17
|
-
<FileAlignment>512</FileAlignment>
|
|
18
|
-
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
19
|
-
<ReactWindowsRoot>..\..\node_modules</ReactWindowsRoot>
|
|
20
|
-
</PropertyGroup>
|
|
21
|
-
<PropertyGroup Condition=" '$(Configuration)' != 'Development'">
|
|
22
|
-
<ReactWindowsRoot>..\..</ReactWindowsRoot>
|
|
23
|
-
</PropertyGroup>
|
|
24
|
-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
25
|
-
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
26
|
-
<DebugSymbols>true</DebugSymbols>
|
|
27
|
-
<DebugType>full</DebugType>
|
|
28
|
-
<Optimize>false</Optimize>
|
|
29
|
-
<OutputPath>bin\Debug\</OutputPath>
|
|
30
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
31
|
-
<ErrorReport>prompt</ErrorReport>
|
|
32
|
-
<WarningLevel>4</WarningLevel>
|
|
33
|
-
</PropertyGroup>
|
|
34
|
-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
35
|
-
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
36
|
-
<DebugType>pdbonly</DebugType>
|
|
37
|
-
<Optimize>true</Optimize>
|
|
38
|
-
<OutputPath>bin\Release\</OutputPath>
|
|
39
|
-
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
40
|
-
<ErrorReport>prompt</ErrorReport>
|
|
41
|
-
<WarningLevel>4</WarningLevel>
|
|
42
|
-
</PropertyGroup>
|
|
43
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
44
|
-
<PlatformTarget>x86</PlatformTarget>
|
|
45
|
-
<DebugSymbols>true</DebugSymbols>
|
|
46
|
-
<OutputPath>bin\x86\Debug\</OutputPath>
|
|
47
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
48
|
-
<NoWarn>;2008</NoWarn>
|
|
49
|
-
<DebugType>full</DebugType>
|
|
50
|
-
<PlatformTarget>x86</PlatformTarget>
|
|
51
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
52
|
-
<ErrorReport>prompt</ErrorReport>
|
|
53
|
-
</PropertyGroup>
|
|
54
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
55
|
-
<PlatformTarget>x86</PlatformTarget>
|
|
56
|
-
<OutputPath>bin\x86\Release\</OutputPath>
|
|
57
|
-
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
58
|
-
<Optimize>true</Optimize>
|
|
59
|
-
<NoWarn>;2008</NoWarn>
|
|
60
|
-
<DebugType>pdbonly</DebugType>
|
|
61
|
-
<PlatformTarget>x86</PlatformTarget>
|
|
62
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
63
|
-
<ErrorReport>prompt</ErrorReport>
|
|
64
|
-
</PropertyGroup>
|
|
65
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
|
66
|
-
<PlatformTarget>ARM</PlatformTarget>
|
|
67
|
-
<DebugSymbols>true</DebugSymbols>
|
|
68
|
-
<OutputPath>bin\ARM\Debug\</OutputPath>
|
|
69
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
70
|
-
<NoWarn>;2008</NoWarn>
|
|
71
|
-
<DebugType>full</DebugType>
|
|
72
|
-
<PlatformTarget>ARM</PlatformTarget>
|
|
73
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
74
|
-
<ErrorReport>prompt</ErrorReport>
|
|
75
|
-
</PropertyGroup>
|
|
76
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
|
77
|
-
<PlatformTarget>ARM</PlatformTarget>
|
|
78
|
-
<OutputPath>bin\ARM\Release\</OutputPath>
|
|
79
|
-
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
80
|
-
<Optimize>true</Optimize>
|
|
81
|
-
<NoWarn>;2008</NoWarn>
|
|
82
|
-
<DebugType>pdbonly</DebugType>
|
|
83
|
-
<PlatformTarget>ARM</PlatformTarget>
|
|
84
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
85
|
-
<ErrorReport>prompt</ErrorReport>
|
|
86
|
-
</PropertyGroup>
|
|
87
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
88
|
-
<PlatformTarget>x64</PlatformTarget>
|
|
89
|
-
<DebugSymbols>true</DebugSymbols>
|
|
90
|
-
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
91
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
92
|
-
<NoWarn>;2008</NoWarn>
|
|
93
|
-
<DebugType>full</DebugType>
|
|
94
|
-
<PlatformTarget>x64</PlatformTarget>
|
|
95
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
96
|
-
<ErrorReport>prompt</ErrorReport>
|
|
97
|
-
</PropertyGroup>
|
|
98
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
99
|
-
<PlatformTarget>x64</PlatformTarget>
|
|
100
|
-
<OutputPath>bin\x64\Release\</OutputPath>
|
|
101
|
-
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
102
|
-
<Optimize>true</Optimize>
|
|
103
|
-
<NoWarn>;2008</NoWarn>
|
|
104
|
-
<DebugType>pdbonly</DebugType>
|
|
105
|
-
<PlatformTarget>x64</PlatformTarget>
|
|
106
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
107
|
-
<ErrorReport>prompt</ErrorReport>
|
|
108
|
-
</PropertyGroup>
|
|
109
|
-
<ItemGroup>
|
|
110
|
-
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
|
|
111
|
-
<None Include="project.json" />
|
|
112
|
-
</ItemGroup>
|
|
113
|
-
<ItemGroup>
|
|
114
|
-
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
115
|
-
<Compile Include="RNShareModule.cs" />
|
|
116
|
-
<Compile Include="RNSharePackage.cs" />
|
|
117
|
-
<EmbeddedResource Include="Properties\RNShare.rd.xml" />
|
|
118
|
-
</ItemGroup>
|
|
119
|
-
<ItemGroup>
|
|
120
|
-
<ProjectReference Include="..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj">
|
|
121
|
-
<Project>{c7673ad5-e3aa-468c-a5fd-fa38154e205c}</Project>
|
|
122
|
-
<Name>ReactNative</Name>
|
|
123
|
-
</ProjectReference>
|
|
124
|
-
</ItemGroup>
|
|
125
|
-
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
|
126
|
-
<VisualStudioVersion>14.0</VisualStudioVersion>
|
|
127
|
-
</PropertyGroup>
|
|
128
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|AnyCPU'">
|
|
129
|
-
<DebugSymbols>true</DebugSymbols>
|
|
130
|
-
<OutputPath>bin\Development\</OutputPath>
|
|
131
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
132
|
-
<NoStdLib>true</NoStdLib>
|
|
133
|
-
<DebugType>full</DebugType>
|
|
134
|
-
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
135
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
136
|
-
<ErrorReport>prompt</ErrorReport>
|
|
137
|
-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
138
|
-
</PropertyGroup>
|
|
139
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|x86'">
|
|
140
|
-
<DebugSymbols>true</DebugSymbols>
|
|
141
|
-
<OutputPath>bin\x86\Development\</OutputPath>
|
|
142
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
143
|
-
<NoWarn>;2008</NoWarn>
|
|
144
|
-
<NoStdLib>true</NoStdLib>
|
|
145
|
-
<DebugType>full</DebugType>
|
|
146
|
-
<PlatformTarget>x86</PlatformTarget>
|
|
147
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
148
|
-
<ErrorReport>prompt</ErrorReport>
|
|
149
|
-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
150
|
-
</PropertyGroup>
|
|
151
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|ARM'">
|
|
152
|
-
<DebugSymbols>true</DebugSymbols>
|
|
153
|
-
<OutputPath>bin\ARM\Development\</OutputPath>
|
|
154
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
155
|
-
<NoWarn>;2008</NoWarn>
|
|
156
|
-
<NoStdLib>true</NoStdLib>
|
|
157
|
-
<DebugType>full</DebugType>
|
|
158
|
-
<PlatformTarget>ARM</PlatformTarget>
|
|
159
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
160
|
-
<ErrorReport>prompt</ErrorReport>
|
|
161
|
-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
162
|
-
</PropertyGroup>
|
|
163
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|x64'">
|
|
164
|
-
<DebugSymbols>true</DebugSymbols>
|
|
165
|
-
<OutputPath>bin\x64\Development\</OutputPath>
|
|
166
|
-
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
167
|
-
<NoWarn>;2008</NoWarn>
|
|
168
|
-
<NoStdLib>true</NoStdLib>
|
|
169
|
-
<DebugType>full</DebugType>
|
|
170
|
-
<PlatformTarget>x64</PlatformTarget>
|
|
171
|
-
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
172
|
-
<ErrorReport>prompt</ErrorReport>
|
|
173
|
-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
174
|
-
</PropertyGroup>
|
|
175
|
-
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
|
176
|
-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
177
|
-
Other similar extension points exist, see Microsoft.Common.targets.
|
|
178
|
-
<Target Name="BeforeBuild">
|
|
179
|
-
</Target>
|
|
180
|
-
<Target Name="AfterBuild">
|
|
181
|
-
</Target>
|
|
182
|
-
-->
|
|
183
|
-
</Project>
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
using Newtonsoft.Json.Linq;
|
|
2
|
-
using ReactNative.Bridge;
|
|
3
|
-
using System;
|
|
4
|
-
using System.Collections.Generic;
|
|
5
|
-
using Windows.ApplicationModel.Core;
|
|
6
|
-
using Windows.ApplicationModel.DataTransfer;
|
|
7
|
-
using Windows.UI.Core;
|
|
8
|
-
|
|
9
|
-
namespace Cl.Json.RNShare
|
|
10
|
-
{
|
|
11
|
-
/// <summary>
|
|
12
|
-
/// A module that allows JS to share data.
|
|
13
|
-
/// </summary>
|
|
14
|
-
class RNShareModule : NativeModuleBase
|
|
15
|
-
{
|
|
16
|
-
private readonly DataTransferManager _dataTransferManager;
|
|
17
|
-
private readonly Queue<RequestData> _queue;
|
|
18
|
-
|
|
19
|
-
/// <summary>
|
|
20
|
-
/// Instantiates the <see cref="RNShareModule"/>.
|
|
21
|
-
/// </summary>
|
|
22
|
-
internal RNShareModule()
|
|
23
|
-
{
|
|
24
|
-
_dataTransferManager = DataTransferManager.GetForCurrentView();
|
|
25
|
-
_dataTransferManager.DataRequested += DataRequested;
|
|
26
|
-
|
|
27
|
-
_queue = new Queue<RequestData>();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/// <summary>
|
|
31
|
-
/// The name of the native module.
|
|
32
|
-
/// </summary>
|
|
33
|
-
public override string Name
|
|
34
|
-
{
|
|
35
|
-
get
|
|
36
|
-
{
|
|
37
|
-
return "RNShare";
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/// <summary>
|
|
42
|
-
/// Open Share UI and provide data for sharing.
|
|
43
|
-
/// </summary>
|
|
44
|
-
/// <param name="options"></param>
|
|
45
|
-
[ReactMethod]
|
|
46
|
-
public void open(JObject options, ICallback errorCallback, ICallback successCallback)
|
|
47
|
-
{
|
|
48
|
-
if (options != null)
|
|
49
|
-
{
|
|
50
|
-
var requestData = new RequestData
|
|
51
|
-
{
|
|
52
|
-
Title = options.Value<string>("title"),
|
|
53
|
-
Text = options.Value<string>("share_text"),
|
|
54
|
-
Url = options.Value<string>("share_URL"),
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
if (requestData.Text == null && requestData.Title == null && requestData.Url == null)
|
|
58
|
-
{
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
RunOnDispatcher(() =>
|
|
63
|
-
{
|
|
64
|
-
lock (_queue)
|
|
65
|
-
{
|
|
66
|
-
_queue.Enqueue(requestData);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
try
|
|
70
|
-
{
|
|
71
|
-
DataTransferManager.ShowShareUI();
|
|
72
|
-
successCallback.Invoke("OK");
|
|
73
|
-
}
|
|
74
|
-
catch
|
|
75
|
-
{
|
|
76
|
-
errorCallback.Invoke("not_available");
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private void DataRequested(DataTransferManager sender, DataRequestedEventArgs e)
|
|
83
|
-
{
|
|
84
|
-
var requestData = default(RequestData);
|
|
85
|
-
lock (_queue)
|
|
86
|
-
{
|
|
87
|
-
requestData = _queue.Dequeue();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (requestData.Title != null)
|
|
91
|
-
{
|
|
92
|
-
e.Request.Data.Properties.Title = requestData.Title;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
if (requestData.Text != null)
|
|
96
|
-
{
|
|
97
|
-
e.Request.Data.SetText(requestData.Text);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (requestData.Url != null)
|
|
101
|
-
{
|
|
102
|
-
e.Request.Data.SetUri(new Uri(requestData.Url));
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private static async void RunOnDispatcher(DispatchedHandler action)
|
|
107
|
-
{
|
|
108
|
-
await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, action);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private struct RequestData
|
|
112
|
-
{
|
|
113
|
-
public string Title;
|
|
114
|
-
public string Text;
|
|
115
|
-
public string Url;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
using ReactNative.Bridge;
|
|
2
|
-
using ReactNative.Modules.Core;
|
|
3
|
-
using ReactNative.UIManager;
|
|
4
|
-
using System;
|
|
5
|
-
using System.Collections.Generic;
|
|
6
|
-
|
|
7
|
-
namespace Cl.Json.RNShare
|
|
8
|
-
{
|
|
9
|
-
/// <summary>
|
|
10
|
-
/// Package defining core framework modules (e.g., <see cref="UIManagerModule"/>).
|
|
11
|
-
/// It should be used for modules that require special integration with
|
|
12
|
-
/// other framework parts (e.g., with the list of packages to load view
|
|
13
|
-
/// managers from).
|
|
14
|
-
/// </summary>
|
|
15
|
-
public class RNSharePackage : IReactPackage
|
|
16
|
-
{
|
|
17
|
-
/// <summary>
|
|
18
|
-
/// Creates the list of native modules to register with the react
|
|
19
|
-
/// instance.
|
|
20
|
-
/// </summary>
|
|
21
|
-
/// <param name="reactContext">The react application context.</param>
|
|
22
|
-
/// <returns>The list of native modules.</returns>
|
|
23
|
-
public IReadOnlyList<INativeModule> CreateNativeModules(ReactContext reactContext)
|
|
24
|
-
{
|
|
25
|
-
return new List<INativeModule>
|
|
26
|
-
{
|
|
27
|
-
new RNShareModule(),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/// <summary>
|
|
32
|
-
/// Creates the list of JavaScript modules to register with the
|
|
33
|
-
/// react instance.
|
|
34
|
-
/// </summary>
|
|
35
|
-
/// <returns>The list of JavaScript modules.</returns>
|
|
36
|
-
public IReadOnlyList<Type> CreateJavaScriptModulesConfig()
|
|
37
|
-
{
|
|
38
|
-
return new List<Type>(0);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/// <summary>
|
|
42
|
-
/// Creates the list of view managers that should be registered with
|
|
43
|
-
/// the <see cref="UIManagerModule"/>.
|
|
44
|
-
/// </summary>
|
|
45
|
-
/// <param name="reactContext">The react application context.</param>
|
|
46
|
-
/// <returns>The list of view managers.</returns>
|
|
47
|
-
public IReadOnlyList<IViewManager> CreateViewManagers(
|
|
48
|
-
ReactContext reactContext)
|
|
49
|
-
{
|
|
50
|
-
return new List<IViewManager>(0);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dependencies": {
|
|
3
|
-
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2"
|
|
4
|
-
},
|
|
5
|
-
"frameworks": {
|
|
6
|
-
"uap10.0": {}
|
|
7
|
-
},
|
|
8
|
-
"runtimes": {
|
|
9
|
-
"win10-arm": {},
|
|
10
|
-
"win10-arm-aot": {},
|
|
11
|
-
"win10-x86": {},
|
|
12
|
-
"win10-x86-aot": {},
|
|
13
|
-
"win10-x64": {},
|
|
14
|
-
"win10-x64-aot": {}
|
|
15
|
-
}
|
|
16
|
-
}
|