react-native-windows 0.0.0-canary.855 → 0.0.0-canary.856
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/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +2 -1
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/package.json +1 -1
- package/templates/cpp-app/windows/MyApp/MyApp.cpp +1 -0
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +1 -1
- package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +1 -1
|
@@ -641,7 +641,8 @@ void ReactInstanceWin::InitializeBridgeless() noexcept {
|
|
|
641
641
|
facebook::react::ReactInstance::JSRuntimeFlags options;
|
|
642
642
|
m_bridgelessReactInstance->initializeRuntime(options, [=](facebook::jsi::Runtime &runtime) {
|
|
643
643
|
auto logger = [loggingHook = GetLoggingCallback()](const std::string &message, unsigned int logLevel) {
|
|
644
|
-
|
|
644
|
+
if (loggingHook)
|
|
645
|
+
loggingHook(static_cast<facebook::react::RCTLogLevel>(logLevel), message.c_str());
|
|
645
646
|
};
|
|
646
647
|
facebook::react::bindNativeLogger(runtime, logger);
|
|
647
648
|
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.0.0-canary.
|
|
13
|
+
<ReactNativeWindowsVersion>0.0.0-canary.856</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>true</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>8271255b00a49a7af90ad682be46eca3855c95d2</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
package/package.json
CHANGED
|
@@ -132,6 +132,7 @@ _Use_decl_annotations_ int CALLBACK WinMain(HINSTANCE instance, HINSTANCE, PSTR
|
|
|
132
132
|
// state
|
|
133
133
|
auto async = host.UnloadInstance();
|
|
134
134
|
async.Completed([host](auto asyncInfo, winrt::Windows::Foundation::AsyncStatus asyncStatus) {
|
|
135
|
+
asyncStatus;
|
|
135
136
|
assert(asyncStatus == winrt::Windows::Foundation::AsyncStatus::Completed);
|
|
136
137
|
host.InstanceSettings().UIDispatcher().Post([]() { PostQuitMessage(0); });
|
|
137
138
|
});
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
72
72
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
73
73
|
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
|
74
|
-
<WarningLevel>
|
|
74
|
+
<WarningLevel>Level4</WarningLevel>
|
|
75
75
|
<SDLCheck>true</SDLCheck>
|
|
76
76
|
<AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
|
|
77
77
|
<DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
74
74
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
75
75
|
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
|
76
|
-
<WarningLevel>
|
|
76
|
+
<WarningLevel>Level4</WarningLevel>
|
|
77
77
|
<SDLCheck>true</SDLCheck>
|
|
78
78
|
<AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
|
|
79
79
|
<DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
|