Ver código fonte

WebViewBridge

Tero Paananen 4 anos atrás
pai
commit
24ff7982f1

+ 38
- 0
example/windows/WebViewWindows.sln Ver arquivo

42
 EndProject
42
 EndProject
43
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactNativeWebView", "..\..\windows\ReactNativeWebView\ReactNativeWebView.vcxproj", "{729D9AF8-CD9E-4427-9F6C-FB757E287729}"
43
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactNativeWebView", "..\..\windows\ReactNativeWebView\ReactNativeWebView.vcxproj", "{729D9AF8-CD9E-4427-9F6C-FB757E287729}"
44
 EndProject
44
 EndProject
45
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebViewBridge", "..\..\windows\WebViewBridge\WebViewBridge.vcxproj", "{DC466263-7D1F-4907-ACD1-CC771D1FDD58}"
46
+EndProject
45
 Global
47
 Global
46
 	GlobalSection(SharedMSBuildProjectFiles) = preSolution
48
 	GlobalSection(SharedMSBuildProjectFiles) = preSolution
47
 		..\..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
49
 		..\..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
61
 		..\..\node_modules\react-native-windows\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
63
 		..\..\node_modules\react-native-windows\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
62
 	EndGlobalSection
64
 	EndGlobalSection
63
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
65
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
66
+		Debug|Any CPU = Debug|Any CPU
64
 		Debug|ARM = Debug|ARM
67
 		Debug|ARM = Debug|ARM
65
 		Debug|ARM64 = Debug|ARM64
68
 		Debug|ARM64 = Debug|ARM64
66
 		Debug|x64 = Debug|x64
69
 		Debug|x64 = Debug|x64
67
 		Debug|x86 = Debug|x86
70
 		Debug|x86 = Debug|x86
71
+		Release|Any CPU = Release|Any CPU
68
 		Release|ARM = Release|ARM
72
 		Release|ARM = Release|ARM
69
 		Release|ARM64 = Release|ARM64
73
 		Release|ARM64 = Release|ARM64
70
 		Release|x64 = Release|x64
74
 		Release|x64 = Release|x64
71
 		Release|x86 = Release|x86
75
 		Release|x86 = Release|x86
72
 	EndGlobalSection
76
 	EndGlobalSection
73
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
77
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
78
+		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|Any CPU.ActiveCfg = Debug|Win32
74
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.ActiveCfg = Debug|ARM
79
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.ActiveCfg = Debug|ARM
75
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.Build.0 = Debug|ARM
80
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.Build.0 = Debug|ARM
76
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.Deploy.0 = Debug|ARM
81
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|ARM.Deploy.0 = Debug|ARM
83
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.ActiveCfg = Debug|Win32
88
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.ActiveCfg = Debug|Win32
84
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.Build.0 = Debug|Win32
89
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.Build.0 = Debug|Win32
85
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.Deploy.0 = Debug|Win32
90
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Debug|x86.Deploy.0 = Debug|Win32
91
+		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|Any CPU.ActiveCfg = Release|Win32
86
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.ActiveCfg = Release|ARM
92
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.ActiveCfg = Release|ARM
87
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.Build.0 = Release|ARM
93
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.Build.0 = Release|ARM
88
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.Deploy.0 = Release|ARM
94
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|ARM.Deploy.0 = Release|ARM
95
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.ActiveCfg = Release|Win32
101
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.ActiveCfg = Release|Win32
96
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.Build.0 = Release|Win32
102
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.Build.0 = Release|Win32
97
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.Deploy.0 = Release|Win32
103
 		{AC6C354F-8C80-47EA-9E40-996ABE271843}.Release|x86.Deploy.0 = Release|Win32
104
+		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|Any CPU.ActiveCfg = Debug|Win32
98
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.ActiveCfg = Debug|ARM
105
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.ActiveCfg = Debug|ARM
99
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.Build.0 = Debug|ARM
106
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.Build.0 = Debug|ARM
100
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.ActiveCfg = Debug|ARM64
107
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.ActiveCfg = Debug|ARM64
103
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.Build.0 = Debug|x64
110
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.Build.0 = Debug|x64
104
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.ActiveCfg = Debug|Win32
111
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.ActiveCfg = Debug|Win32
105
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.Build.0 = Debug|Win32
112
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.Build.0 = Debug|Win32
113
+		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|Any CPU.ActiveCfg = Release|Win32
106
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.ActiveCfg = Release|ARM
114
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.ActiveCfg = Release|ARM
107
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.Build.0 = Release|ARM
115
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.Build.0 = Release|ARM
108
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.ActiveCfg = Release|ARM64
116
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.ActiveCfg = Release|ARM64
111
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.Build.0 = Release|x64
119
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.Build.0 = Release|x64
112
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
120
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
113
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
121
 		{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
122
+		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|Any CPU.ActiveCfg = Debug|Win32
114
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.ActiveCfg = Debug|ARM
123
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.ActiveCfg = Debug|ARM
115
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.Build.0 = Debug|ARM
124
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.Build.0 = Debug|ARM
116
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
125
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
119
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.Build.0 = Debug|x64
128
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.Build.0 = Debug|x64
120
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.ActiveCfg = Debug|Win32
129
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.ActiveCfg = Debug|Win32
121
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.Build.0 = Debug|Win32
130
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.Build.0 = Debug|Win32
131
+		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|Any CPU.ActiveCfg = Release|Win32
122
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.ActiveCfg = Release|ARM
132
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.ActiveCfg = Release|ARM
123
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.Build.0 = Release|ARM
133
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.Build.0 = Release|ARM
124
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.ActiveCfg = Release|ARM64
134
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.ActiveCfg = Release|ARM64
127
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x64.Build.0 = Release|x64
137
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x64.Build.0 = Release|x64
128
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.ActiveCfg = Release|Win32
138
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.ActiveCfg = Release|Win32
129
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.Build.0 = Release|Win32
139
 		{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.Build.0 = Release|Win32
140
+		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|Any CPU.ActiveCfg = Debug|Win32
130
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM.ActiveCfg = Debug|ARM
141
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM.ActiveCfg = Debug|ARM
131
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM.Build.0 = Debug|ARM
142
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM.Build.0 = Debug|ARM
132
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM64.ActiveCfg = Debug|ARM64
143
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|ARM64.ActiveCfg = Debug|ARM64
135
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x64.Build.0 = Debug|x64
146
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x64.Build.0 = Debug|x64
136
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x86.ActiveCfg = Debug|Win32
147
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x86.ActiveCfg = Debug|Win32
137
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x86.Build.0 = Debug|Win32
148
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Debug|x86.Build.0 = Debug|Win32
149
+		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|Any CPU.ActiveCfg = Release|Win32
138
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM.ActiveCfg = Release|ARM
150
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM.ActiveCfg = Release|ARM
139
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM.Build.0 = Release|ARM
151
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM.Build.0 = Release|ARM
140
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM64.ActiveCfg = Release|ARM64
152
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|ARM64.ActiveCfg = Release|ARM64
143
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x64.Build.0 = Release|x64
155
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x64.Build.0 = Release|x64
144
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x86.ActiveCfg = Release|Win32
156
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x86.ActiveCfg = Release|Win32
145
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x86.Build.0 = Release|Win32
157
 		{11C084A3-A57C-4296-A679-CAC17B603144}.Release|x86.Build.0 = Release|Win32
158
+		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|Any CPU.ActiveCfg = Debug|Win32
146
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.ActiveCfg = Debug|ARM
159
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.ActiveCfg = Debug|ARM
147
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.Build.0 = Debug|ARM
160
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.Build.0 = Debug|ARM
148
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.ActiveCfg = Debug|ARM64
161
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.ActiveCfg = Debug|ARM64
151
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x64.Build.0 = Debug|x64
164
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x64.Build.0 = Debug|x64
152
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.ActiveCfg = Debug|Win32
165
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.ActiveCfg = Debug|Win32
153
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.Build.0 = Debug|Win32
166
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.Build.0 = Debug|Win32
167
+		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|Any CPU.ActiveCfg = Release|Win32
154
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.ActiveCfg = Release|ARM
168
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.ActiveCfg = Release|ARM
155
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.Build.0 = Release|ARM
169
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.Build.0 = Release|ARM
156
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.ActiveCfg = Release|ARM64
170
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.ActiveCfg = Release|ARM64
159
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
173
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
160
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
174
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
161
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
175
 		{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
176
+		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|Any CPU.ActiveCfg = Debug|Win32
162
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
177
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
163
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
178
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
164
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
179
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
167
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
182
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
168
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
183
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
169
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
184
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
185
+		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|Any CPU.ActiveCfg = Release|Win32
170
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
186
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
171
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
187
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
172
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
188
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
175
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
191
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
176
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
192
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
177
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
193
 		{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
194
+		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|Any CPU.ActiveCfg = Debug|Win32
178
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
195
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
179
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
196
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
180
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
197
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
183
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.Build.0 = Debug|x64
200
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.Build.0 = Debug|x64
184
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
201
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
185
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.Build.0 = Debug|Win32
202
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.Build.0 = Debug|Win32
203
+		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|Any CPU.ActiveCfg = Release|Win32
186
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.ActiveCfg = Release|ARM
204
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.ActiveCfg = Release|ARM
187
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.Build.0 = Release|ARM
205
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.Build.0 = Release|ARM
188
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.ActiveCfg = Release|ARM64
206
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.ActiveCfg = Release|ARM64
191
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
209
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
192
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
210
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
193
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
211
 		{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
212
+		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|Any CPU.ActiveCfg = Debug|Win32
194
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM.ActiveCfg = Debug|ARM
213
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM.ActiveCfg = Debug|ARM
195
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM.Build.0 = Debug|ARM
214
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM.Build.0 = Debug|ARM
196
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM64.ActiveCfg = Debug|Win32
215
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|ARM64.ActiveCfg = Debug|Win32
198
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x64.Build.0 = Debug|x64
217
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x64.Build.0 = Debug|x64
199
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x86.ActiveCfg = Debug|Win32
218
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x86.ActiveCfg = Debug|Win32
200
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x86.Build.0 = Debug|Win32
219
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Debug|x86.Build.0 = Debug|Win32
220
+		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|Any CPU.ActiveCfg = Release|Win32
201
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM.ActiveCfg = Release|ARM
221
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM.ActiveCfg = Release|ARM
202
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM.Build.0 = Release|ARM
222
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM.Build.0 = Release|ARM
203
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM64.ActiveCfg = Release|Win32
223
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|ARM64.ActiveCfg = Release|Win32
205
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x64.Build.0 = Release|x64
225
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x64.Build.0 = Release|x64
206
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x86.ActiveCfg = Release|Win32
226
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x86.ActiveCfg = Release|Win32
207
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x86.Build.0 = Release|Win32
227
 		{729D9AF8-CD9E-4427-9F6C-FB757E287729}.Release|x86.Build.0 = Release|Win32
228
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|Any CPU.ActiveCfg = Debug|Win32
229
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|ARM.ActiveCfg = Debug|ARM
230
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|ARM.Build.0 = Debug|ARM
231
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|ARM64.ActiveCfg = Debug|ARM64
232
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|ARM64.Build.0 = Debug|ARM64
233
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|x64.ActiveCfg = Debug|x64
234
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|x64.Build.0 = Debug|x64
235
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|x86.ActiveCfg = Debug|Win32
236
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Debug|x86.Build.0 = Debug|Win32
237
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|Any CPU.ActiveCfg = Release|Win32
238
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|ARM.ActiveCfg = Release|ARM
239
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|ARM.Build.0 = Release|ARM
240
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|ARM64.ActiveCfg = Release|ARM64
241
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|ARM64.Build.0 = Release|ARM64
242
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|x64.ActiveCfg = Release|x64
243
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|x64.Build.0 = Release|x64
244
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|x86.ActiveCfg = Release|Win32
245
+		{DC466263-7D1F-4907-ACD1-CC771D1FDD58}.Release|x86.Build.0 = Release|Win32
208
 	EndGlobalSection
246
 	EndGlobalSection
209
 	GlobalSection(SolutionProperties) = preSolution
247
 	GlobalSection(SolutionProperties) = preSolution
210
 		HideSolutionNode = FALSE
248
 		HideSolutionNode = FALSE

+ 3
- 0
windows/ReactNativeWebView/ReactNativeWebView.vcxproj Ver arquivo

145
       <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
145
       <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
146
       <Private>false</Private>
146
       <Private>false</Private>
147
     </ProjectReference>
147
     </ProjectReference>
148
+    <ProjectReference Include="..\WebViewBridge\WebViewBridge.vcxproj">
149
+      <Project>{dc466263-7d1f-4907-acd1-cc771d1fdd58}</Project>
150
+    </ProjectReference>
148
   </ItemGroup>
151
   </ItemGroup>
149
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
152
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
150
   <ImportGroup Label="ExtensionTargets">
153
   <ImportGroup Label="ExtensionTargets">

+ 11
- 0
windows/ReactNativeWebView/ReactWebView.cpp Ver arquivo

6
 #include "ReactWebView.h"
6
 #include "ReactWebView.h"
7
 #include "ReactWebView.g.cpp"
7
 #include "ReactWebView.g.cpp"
8
 
8
 
9
+#include "winrt/WebViewBridge.h"
10
+
11
+
12
+
9
 namespace winrt {
13
 namespace winrt {
10
     using namespace Microsoft::ReactNative;
14
     using namespace Microsoft::ReactNative;
11
     using namespace Windows::Data::Json;
15
     using namespace Windows::Data::Json;
82
                 WriteWebViewNavigationEventArg(webView, eventDataWriter);
86
                 WriteWebViewNavigationEventArg(webView, eventDataWriter);
83
                 eventDataWriter.WriteObjectEnd();
87
                 eventDataWriter.WriteObjectEnd();
84
             });
88
             });
89
+
90
+        if (m_messagingEnabled) {
91
+          auto tag = this->GetValue(winrt::FrameworkElement::TagProperty()).as<winrt::IPropertyValue>().GetInt64();
92
+
93
+          auto bridge = WebViewBridge::WebBridge(tag);
94
+          webView.AddWebAllowedObject(L"__RN_WEBVIEW_JS_BRIDGE", bridge);
95
+        }
85
     }
96
     }
86
 
97
 
87
     void ReactWebView::OnNavigationCompleted(winrt::WebView const& webView, winrt::WebViewNavigationCompletedEventArgs const& /*args*/) {
98
     void ReactWebView::OnNavigationCompleted(winrt::WebView const& webView, winrt::WebViewNavigationCompletedEventArgs const& /*args*/) {

+ 2
- 2
windows/ReactNativeWebView/ReactWebViewManager.cpp Ver arquivo

88
                 }
88
                 }
89
                 else if (propertyName == "messagingEnabled") {
89
                 else if (propertyName == "messagingEnabled") {
90
                   auto messagingEnabled = propertyValue.To<bool>();
90
                   auto messagingEnabled = propertyValue.To<bool>();
91
-                  if (auto reactWebView = content.try_as<ReactNativeWebView::ReactWebView>()) {
91
+                  if (auto reactWebView = view.try_as<ReactNativeWebView::ReactWebView>()) {
92
                     reactWebView.SetMessagingEnabled(messagingEnabled);
92
                     reactWebView.SetMessagingEnabled(messagingEnabled);
93
                   }
93
                   }
94
                 }
94
                 }
149
             else if (commandId == L"injectJavaScript") {
149
             else if (commandId == L"injectJavaScript") {
150
                 webView.InvokeScriptAsync(L"eval", { winrt::to_hstring(commandArgs[0].AsString()) });
150
                 webView.InvokeScriptAsync(L"eval", { winrt::to_hstring(commandArgs[0].AsString()) });
151
             } else if(commandId == L"postMessage") {
151
             } else if(commandId == L"postMessage") {
152
-                if (auto reactWebView = content.try_as<ReactNativeWebView::ReactWebView>()) {
152
+                if (auto reactWebView = view.try_as<ReactNativeWebView::ReactWebView>()) {
153
                     reactWebView.PostMessage(winrt::to_hstring(commandArgs[0].AsString()));
153
                     reactWebView.PostMessage(winrt::to_hstring(commandArgs[0].AsString()));
154
                 }
154
                 }
155
             }
155
             }

+ 20
- 0
windows/WebViewBridge/WebBridge.cpp Ver arquivo

1
+#include "pch.h"
2
+#include "WebBridge.h"
3
+
4
+
5
+
6
+using namespace WebViewBridge;
7
+using namespace Platform;
8
+
9
+
10
+// https://docs.microsoft.com/en-us/windows/uwp/winrt-components/create-a-windows-runtime-component-in-cppwinrt
11
+// https://github.com/microsoft/react-native-windows/blob/0.59-legacy/current/ReactWindows/ReactNativeWebViewBridge/WebViewBridge.cs
12
+
13
+
14
+WebBridge::WebBridge(int64 tag)
15
+{
16
+  //winrt::hstring w{ L"Hello, World!" };
17
+}
18
+
19
+void WebBridge::PostMessage() {
20
+}

+ 17
- 0
windows/WebViewBridge/WebBridge.h Ver arquivo

1
+#pragma once
2
+
3
+using namespace Windows::Foundation;
4
+
5
+namespace WebViewBridge
6
+{
7
+  [Windows::Foundation::Metadata::AllowForWebAttribute]
8
+  public ref class WebBridge sealed
9
+    {
10
+    public:
11
+      WebBridge(int64 tag);
12
+      void PostMessage();
13
+    };
14
+}
15
+
16
+
17
+// https://github.com/MicrosoftEdge/JSBrowser/blob/master/NativeListener/KeyHandler.h

+ 289
- 0
windows/WebViewBridge/WebViewBridge.vcxproj Ver arquivo

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|ARM">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>ARM</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Debug|ARM64">
9
+      <Configuration>Debug</Configuration>
10
+      <Platform>ARM64</Platform>
11
+    </ProjectConfiguration>
12
+    <ProjectConfiguration Include="Debug|Win32">
13
+      <Configuration>Debug</Configuration>
14
+      <Platform>Win32</Platform>
15
+    </ProjectConfiguration>
16
+    <ProjectConfiguration Include="Debug|x64">
17
+      <Configuration>Debug</Configuration>
18
+      <Platform>x64</Platform>
19
+    </ProjectConfiguration>
20
+    <ProjectConfiguration Include="Release|ARM">
21
+      <Configuration>Release</Configuration>
22
+      <Platform>ARM</Platform>
23
+    </ProjectConfiguration>
24
+    <ProjectConfiguration Include="Release|ARM64">
25
+      <Configuration>Release</Configuration>
26
+      <Platform>ARM64</Platform>
27
+    </ProjectConfiguration>
28
+    <ProjectConfiguration Include="Release|Win32">
29
+      <Configuration>Release</Configuration>
30
+      <Platform>Win32</Platform>
31
+    </ProjectConfiguration>
32
+    <ProjectConfiguration Include="Release|x64">
33
+      <Configuration>Release</Configuration>
34
+      <Platform>x64</Platform>
35
+    </ProjectConfiguration>
36
+  </ItemGroup>
37
+  <PropertyGroup Label="Globals">
38
+    <ProjectGuid>{dc466263-7d1f-4907-acd1-cc771d1fdd58}</ProjectGuid>
39
+    <Keyword>WindowsRuntimeComponent</Keyword>
40
+    <RootNamespace>WebViewBridge</RootNamespace>
41
+    <DefaultLanguage>en-US</DefaultLanguage>
42
+    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
43
+    <AppContainerApplication>true</AppContainerApplication>
44
+    <ApplicationType>Windows Store</ApplicationType>
45
+    <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
46
+    <WindowsTargetPlatformMinVersion>10.0.14393.0</WindowsTargetPlatformMinVersion>
47
+    <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
48
+  </PropertyGroup>
49
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
50
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
51
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
52
+    <UseDebugLibraries>true</UseDebugLibraries>
53
+    <PlatformToolset>v142</PlatformToolset>
54
+  </PropertyGroup>
55
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
56
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
57
+    <UseDebugLibraries>true</UseDebugLibraries>
58
+    <PlatformToolset>v142</PlatformToolset>
59
+  </PropertyGroup>
60
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
61
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
62
+    <UseDebugLibraries>true</UseDebugLibraries>
63
+    <PlatformToolset>v142</PlatformToolset>
64
+  </PropertyGroup>
65
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
66
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
67
+    <UseDebugLibraries>true</UseDebugLibraries>
68
+    <PlatformToolset>v142</PlatformToolset>
69
+  </PropertyGroup>
70
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
71
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
72
+    <UseDebugLibraries>false</UseDebugLibraries>
73
+    <WholeProgramOptimization>true</WholeProgramOptimization>
74
+    <PlatformToolset>v142</PlatformToolset>
75
+  </PropertyGroup>
76
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
77
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
78
+    <UseDebugLibraries>false</UseDebugLibraries>
79
+    <WholeProgramOptimization>true</WholeProgramOptimization>
80
+    <PlatformToolset>v142</PlatformToolset>
81
+  </PropertyGroup>
82
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
83
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
84
+    <UseDebugLibraries>false</UseDebugLibraries>
85
+    <WholeProgramOptimization>true</WholeProgramOptimization>
86
+    <PlatformToolset>v142</PlatformToolset>
87
+  </PropertyGroup>
88
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
89
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
90
+    <UseDebugLibraries>false</UseDebugLibraries>
91
+    <WholeProgramOptimization>true</WholeProgramOptimization>
92
+    <PlatformToolset>v142</PlatformToolset>
93
+  </PropertyGroup>
94
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
95
+  <ImportGroup Label="ExtensionSettings">
96
+  </ImportGroup>
97
+  <ImportGroup Label="Shared">
98
+  </ImportGroup>
99
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
100
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
101
+  </ImportGroup>
102
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
103
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
104
+  </ImportGroup>
105
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
106
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
107
+  </ImportGroup>
108
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
109
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
110
+  </ImportGroup>
111
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
112
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
113
+  </ImportGroup>
114
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
115
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
116
+  </ImportGroup>
117
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
118
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
119
+  </ImportGroup>
120
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
121
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
122
+  </ImportGroup>
123
+  <PropertyGroup Label="UserMacros" />
124
+  <PropertyGroup />
125
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
126
+    <GenerateManifest>false</GenerateManifest>
127
+  </PropertyGroup>
128
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
129
+    <GenerateManifest>false</GenerateManifest>
130
+  </PropertyGroup>
131
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
132
+    <GenerateManifest>false</GenerateManifest>
133
+  </PropertyGroup>
134
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
135
+    <GenerateManifest>false</GenerateManifest>
136
+  </PropertyGroup>
137
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
138
+    <GenerateManifest>false</GenerateManifest>
139
+  </PropertyGroup>
140
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
141
+    <GenerateManifest>false</GenerateManifest>
142
+  </PropertyGroup>
143
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
144
+    <GenerateManifest>false</GenerateManifest>
145
+  </PropertyGroup>
146
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
147
+    <GenerateManifest>false</GenerateManifest>
148
+  </PropertyGroup>
149
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
150
+    <ClCompile>
151
+      <PrecompiledHeader>Use</PrecompiledHeader>
152
+      <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
153
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
154
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
155
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
156
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
157
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
158
+    </ClCompile>
159
+    <Link>
160
+      <SubSystem>Console</SubSystem>
161
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
162
+    </Link>
163
+  </ItemDefinitionGroup>
164
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
165
+    <ClCompile>
166
+      <PrecompiledHeader>Use</PrecompiledHeader>
167
+      <PreprocessorDefinitions>_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
168
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
169
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
170
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
171
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
172
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
173
+    </ClCompile>
174
+    <Link>
175
+      <SubSystem>Console</SubSystem>
176
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
177
+    </Link>
178
+  </ItemDefinitionGroup>
179
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
180
+    <ClCompile>
181
+      <PrecompiledHeader>Use</PrecompiledHeader>
182
+      <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
183
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
184
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
185
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
186
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
187
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
188
+    </ClCompile>
189
+    <Link>
190
+      <SubSystem>Console</SubSystem>
191
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
192
+    </Link>
193
+  </ItemDefinitionGroup>
194
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
195
+    <ClCompile>
196
+      <PrecompiledHeader>Use</PrecompiledHeader>
197
+      <PreprocessorDefinitions>_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
198
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
199
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
200
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
201
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
202
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
203
+    </ClCompile>
204
+    <Link>
205
+      <SubSystem>Console</SubSystem>
206
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
207
+    </Link>
208
+  </ItemDefinitionGroup>
209
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
210
+    <ClCompile>
211
+      <PrecompiledHeader>Use</PrecompiledHeader>
212
+      <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
213
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
214
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
215
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
216
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
217
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
218
+    </ClCompile>
219
+    <Link>
220
+      <SubSystem>Console</SubSystem>
221
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
222
+    </Link>
223
+  </ItemDefinitionGroup>
224
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
225
+    <ClCompile>
226
+      <PrecompiledHeader>Use</PrecompiledHeader>
227
+      <PreprocessorDefinitions>_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
228
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
229
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
230
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
231
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
232
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
233
+    </ClCompile>
234
+    <Link>
235
+      <SubSystem>Console</SubSystem>
236
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
237
+    </Link>
238
+  </ItemDefinitionGroup>
239
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
240
+    <ClCompile>
241
+      <PrecompiledHeader>Use</PrecompiledHeader>
242
+      <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
243
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
244
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
245
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
246
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
247
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
248
+    </ClCompile>
249
+    <Link>
250
+      <SubSystem>Console</SubSystem>
251
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
252
+    </Link>
253
+  </ItemDefinitionGroup>
254
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
255
+    <ClCompile>
256
+      <PrecompiledHeader>Use</PrecompiledHeader>
257
+      <PreprocessorDefinitions>_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
258
+      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
259
+      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
260
+      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
261
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
262
+      <DisableSpecificWarnings>28204</DisableSpecificWarnings>
263
+    </ClCompile>
264
+    <Link>
265
+      <SubSystem>Console</SubSystem>
266
+      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
267
+    </Link>
268
+  </ItemDefinitionGroup>
269
+  <ItemGroup>
270
+    <ClInclude Include="pch.h" />
271
+    <ClInclude Include="WebBridge.h" />
272
+  </ItemGroup>
273
+  <ItemGroup>
274
+    <ClCompile Include="pch.cpp">
275
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
276
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
277
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
278
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader>
279
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">Create</PrecompiledHeader>
280
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">Create</PrecompiledHeader>
281
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
282
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
283
+    </ClCompile>
284
+    <ClCompile Include="WebBridge.cpp" />
285
+  </ItemGroup>
286
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
287
+  <ImportGroup Label="ExtensionTargets">
288
+  </ImportGroup>
289
+</Project>

+ 17
- 0
windows/WebViewBridge/WebViewBridge.vcxproj.filters Ver arquivo

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Resources">
5
+      <UniqueIdentifier>956acc86-f096-4dd3-8011-069df633f74e</UniqueIdentifier>
6
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms</Extensions>
7
+    </Filter>
8
+  </ItemGroup>
9
+  <ItemGroup>
10
+    <ClCompile Include="pch.cpp" />
11
+    <ClCompile Include="WebBridge.cpp" />
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClInclude Include="pch.h" />
15
+    <ClInclude Include="WebBridge.h" />
16
+  </ItemGroup>
17
+</Project>

+ 1
- 0
windows/WebViewBridge/pch.cpp Ver arquivo

1
+#include "pch.h"

+ 4
- 0
windows/WebViewBridge/pch.h Ver arquivo

1
+#pragma once
2
+
3
+#include <collection.h>
4
+#include <ppltasks.h>