react-native-windows 0.72.0-preview.5 → 0.72.0-preview.7
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/Directory.Build.props +3 -2
- package/Libraries/Components/TextInput/TextInput.windows.js +6 -0
- package/Libraries/Components/View/View.windows.js +15 -6
- package/Libraries/Text/Text.windows.js +31 -4
- package/Microsoft.ReactNative/IReactContext.cpp +4 -0
- package/Microsoft.ReactNative/IReactContext.h +1 -0
- package/Microsoft.ReactNative/IReactContext.idl +6 -0
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.cpp +7 -0
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.h +1 -0
- package/Microsoft.ReactNative/ReactHost/React.h +2 -0
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +5 -0
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.h +1 -0
- package/Microsoft.ReactNative/ReactInstanceSettings.h +13 -0
- package/Microsoft.ReactNative/ReactInstanceSettings.idl +4 -0
- package/Microsoft.ReactNative/ReactNativeHost.cpp +1 -0
- package/Microsoft.ReactNative/Views/ControlViewManager.cpp +3 -6
- package/Microsoft.ReactNative/Views/ViewViewManager.cpp +3 -10
- package/Microsoft.ReactNative.Managed/ReactSettingsSnapshot.cs +2 -0
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/PropertySheets/NuGet.Cpp.props +3 -2
- package/Shared/DevSettings.h +3 -0
- package/Shared/OInstance.cpp +4 -4
- package/package.json +2 -2
package/Directory.Build.props
CHANGED
|
@@ -66,8 +66,9 @@
|
|
|
66
66
|
</PropertyGroup>
|
|
67
67
|
|
|
68
68
|
<PropertyGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
69
|
-
<!--See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target-->
|
|
70
|
-
|
|
69
|
+
<!-- See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target -->
|
|
70
|
+
<!-- RestoreUseStaticGraphEvaluation broke in VS 17.6, see https://github.com/microsoft/react-native-windows/issues/11670 -->
|
|
71
|
+
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true' AND $([MSBuild]::VersionLessThan('$(MSBuildVersion)', '17.6')) AND '$(DisableRestoreUseStaticGraphEvaluation)' != 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
71
72
|
</PropertyGroup>
|
|
72
73
|
|
|
73
74
|
</Project>
|
|
@@ -1527,6 +1527,12 @@ function InternalTextInput(props: Props): React.Node {
|
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
1530
|
+
if (focusable && !accessible) {
|
|
1531
|
+
console.warn(
|
|
1532
|
+
'All focusable views should report proper accessiblity information. TextInputs marked as focusable should always be accessible.',
|
|
1533
|
+
);
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1530
1536
|
// $FlowFixMe[underconstrained-implicit-instantiation]
|
|
1531
1537
|
let style = flattenStyle(props.style);
|
|
1532
1538
|
|
|
@@ -183,6 +183,19 @@ const View: React.AbstractComponent<
|
|
|
183
183
|
return updatedChildren;
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
+
|
|
187
|
+
const _focusable = tabIndex !== undefined ? !tabIndex : focusable;
|
|
188
|
+
const _accessible =
|
|
189
|
+
importantForAccessibility === 'no-hide-descendants'
|
|
190
|
+
? false
|
|
191
|
+
: otherProps.accessible;
|
|
192
|
+
|
|
193
|
+
if (_focusable === true && _accessible === false) {
|
|
194
|
+
console.warn(
|
|
195
|
+
'All focusable views should report proper accessiblity information. Views marked as focusable should always be accessible.',
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
186
199
|
// Windows]
|
|
187
200
|
|
|
188
201
|
return (
|
|
@@ -205,7 +218,7 @@ const View: React.AbstractComponent<
|
|
|
205
218
|
: ariaLive ?? accessibilityLiveRegion
|
|
206
219
|
}
|
|
207
220
|
accessibilityLabel={ariaLabel ?? accessibilityLabel}
|
|
208
|
-
focusable={
|
|
221
|
+
focusable={_focusable}
|
|
209
222
|
disabled={disabled}
|
|
210
223
|
accessibilityState={_accessibilityState}
|
|
211
224
|
accessibilityRole={
|
|
@@ -230,11 +243,7 @@ const View: React.AbstractComponent<
|
|
|
230
243
|
onKeyUp={_keyUp}
|
|
231
244
|
onKeyUpCapture={_keyUpCapture}
|
|
232
245
|
// [Windows
|
|
233
|
-
accessible={
|
|
234
|
-
importantForAccessibility === 'no-hide-descendants'
|
|
235
|
-
? false
|
|
236
|
-
: otherProps.accessible
|
|
237
|
-
}
|
|
246
|
+
accessible={_accessible}
|
|
238
247
|
children={
|
|
239
248
|
importantForAccessibility === 'no-hide-descendants'
|
|
240
249
|
? childrenWithImportantForAccessibility(otherProps.children)
|
|
@@ -208,6 +208,7 @@ const Text: React.AbstractComponent<
|
|
|
208
208
|
|
|
209
209
|
const _accessible = Platform.select({
|
|
210
210
|
ios: accessible !== false,
|
|
211
|
+
windows: accessible !== false,
|
|
211
212
|
default: accessible,
|
|
212
213
|
});
|
|
213
214
|
|
|
@@ -307,13 +308,26 @@ const Text: React.AbstractComponent<
|
|
|
307
308
|
<NativeText
|
|
308
309
|
{...textPropsLessStyle}
|
|
309
310
|
{...eventHandlersForText}
|
|
310
|
-
|
|
311
|
+
accessibilityLabel={ariaLabel ?? accessibilityLabel}
|
|
312
|
+
accessibilityRole={
|
|
313
|
+
role ? getAccessibilityRoleFromRole(role) : accessibilityRole
|
|
314
|
+
}
|
|
315
|
+
accessibilityState={nativeTextAccessibilityState}
|
|
316
|
+
accessible={
|
|
317
|
+
accessible == null && Platform.OS === 'android'
|
|
318
|
+
? _hasOnPressOrOnLongPress
|
|
319
|
+
: _accessible
|
|
320
|
+
}
|
|
311
321
|
allowFontScaling={allowFontScaling !== false}
|
|
322
|
+
disabled={_disabled}
|
|
312
323
|
ellipsizeMode={ellipsizeMode ?? 'tail'}
|
|
313
324
|
isHighlighted={isHighlighted}
|
|
325
|
+
nativeID={id ?? nativeID}
|
|
326
|
+
numberOfLines={numberOfLines}
|
|
327
|
+
ref={forwardedRef}
|
|
328
|
+
selectable={_selectable}
|
|
314
329
|
selectionColor={selectionColor}
|
|
315
330
|
style={((rest: any): TextStyleProp)}
|
|
316
|
-
ref={forwardedRef}
|
|
317
331
|
/>
|
|
318
332
|
</TextAncestor.Provider>
|
|
319
333
|
</View>
|
|
@@ -324,13 +338,26 @@ const Text: React.AbstractComponent<
|
|
|
324
338
|
<NativeText
|
|
325
339
|
{...restProps}
|
|
326
340
|
{...eventHandlersForText}
|
|
327
|
-
|
|
341
|
+
accessibilityLabel={ariaLabel ?? accessibilityLabel}
|
|
342
|
+
accessibilityRole={
|
|
343
|
+
role ? getAccessibilityRoleFromRole(role) : accessibilityRole
|
|
344
|
+
}
|
|
345
|
+
accessibilityState={nativeTextAccessibilityState}
|
|
346
|
+
accessible={
|
|
347
|
+
accessible == null && Platform.OS === 'android'
|
|
348
|
+
? _hasOnPressOrOnLongPress
|
|
349
|
+
: _accessible
|
|
350
|
+
}
|
|
328
351
|
allowFontScaling={allowFontScaling !== false}
|
|
352
|
+
disabled={_disabled}
|
|
329
353
|
ellipsizeMode={ellipsizeMode ?? 'tail'}
|
|
330
354
|
isHighlighted={isHighlighted}
|
|
355
|
+
nativeID={id ?? nativeID}
|
|
356
|
+
numberOfLines={numberOfLines}
|
|
357
|
+
ref={forwardedRef}
|
|
358
|
+
selectable={_selectable}
|
|
331
359
|
selectionColor={selectionColor}
|
|
332
360
|
style={style}
|
|
333
|
-
ref={forwardedRef}
|
|
334
361
|
/>
|
|
335
362
|
</TextAncestor.Provider>
|
|
336
363
|
);
|
|
@@ -65,6 +65,10 @@ hstring ReactSettingsSnapshot::BundleAppId() const noexcept {
|
|
|
65
65
|
return winrt::to_hstring(m_settings->BundleAppId());
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
bool ReactSettingsSnapshot::RequestDevBundle() const noexcept {
|
|
69
|
+
return m_settings->RequestDevBundle();
|
|
70
|
+
}
|
|
71
|
+
|
|
68
72
|
Mso::React::IReactSettingsSnapshot const &ReactSettingsSnapshot::GetInner() const noexcept {
|
|
69
73
|
return *m_settings;
|
|
70
74
|
}
|
|
@@ -24,6 +24,7 @@ struct ReactSettingsSnapshot : winrt::implements<ReactSettingsSnapshot, IReactSe
|
|
|
24
24
|
bool RequestInlineSourceMap() const noexcept;
|
|
25
25
|
hstring JavaScriptBundleFile() const noexcept;
|
|
26
26
|
hstring BundleAppId() const noexcept;
|
|
27
|
+
bool RequestDevBundle() const noexcept;
|
|
27
28
|
|
|
28
29
|
public:
|
|
29
30
|
// Internal accessor for within the Microsoft.ReactNative dll to allow calling into internal methods
|
|
@@ -125,6 +125,12 @@ namespace Microsoft.ReactNative
|
|
|
125
125
|
"at the time when the React instance was created.\n"
|
|
126
126
|
"The name of the app passed to the packager server via the 'app' query parameter.")
|
|
127
127
|
String BundleAppId { get; };
|
|
128
|
+
|
|
129
|
+
DOC_STRING(
|
|
130
|
+
"A read-only snapshot of the @ReactInstanceSettings.RequestDevBundle property value "
|
|
131
|
+
"at the time when the React instance was created.\n"
|
|
132
|
+
"When querying the bundle server for a bundle, should it request the dev bundle or release bundle.")
|
|
133
|
+
Boolean RequestDevBundle { get; };
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
[webhosthidden]
|
|
@@ -100,6 +100,13 @@ std::string ReactSettingsSnapshot::BundleAppId() const noexcept {
|
|
|
100
100
|
return {};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
bool ReactSettingsSnapshot::RequestDevBundle() const noexcept {
|
|
104
|
+
if (auto instance = m_reactInstance.GetStrongPtr()) {
|
|
105
|
+
return instance->RequestDevBundle();
|
|
106
|
+
}
|
|
107
|
+
return {};
|
|
108
|
+
}
|
|
109
|
+
|
|
103
110
|
JSIEngine ReactSettingsSnapshot::JsiEngine() const noexcept {
|
|
104
111
|
if (auto instance = m_reactInstance.GetStrongPtr()) {
|
|
105
112
|
return instance->JsiEngine();
|
|
@@ -30,6 +30,7 @@ class ReactSettingsSnapshot final : public Mso::UnknownObject<IReactSettingsSnap
|
|
|
30
30
|
bool RequestInlineSourceMap() const noexcept override;
|
|
31
31
|
std::string JavaScriptBundleFile() const noexcept override;
|
|
32
32
|
std::string BundleAppId() const noexcept override;
|
|
33
|
+
bool RequestDevBundle() const noexcept override;
|
|
33
34
|
bool UseDeveloperSupport() const noexcept override;
|
|
34
35
|
JSIEngine JsiEngine() const noexcept override;
|
|
35
36
|
|
|
@@ -105,6 +105,7 @@ struct IReactSettingsSnapshot : IUnknown {
|
|
|
105
105
|
virtual bool RequestInlineSourceMap() const noexcept = 0;
|
|
106
106
|
virtual std::string JavaScriptBundleFile() const noexcept = 0;
|
|
107
107
|
virtual std::string BundleAppId() const noexcept = 0;
|
|
108
|
+
virtual bool RequestDevBundle() const noexcept = 0;
|
|
108
109
|
virtual bool UseDeveloperSupport() const noexcept = 0;
|
|
109
110
|
virtual JSIEngine JsiEngine() const noexcept = 0;
|
|
110
111
|
};
|
|
@@ -152,6 +153,7 @@ struct ReactDevOptions {
|
|
|
152
153
|
std::string SourceBundleName; // Bundle name without any extension (e.g. "index.win32"). Default: "index.{PLATFORM}"
|
|
153
154
|
std::string SourceBundleExtension; // Bundle name extension. Default: ".bundle".
|
|
154
155
|
std::string BundleAppId; // Bundle app id. Default: "".
|
|
156
|
+
bool DevBundle{true}; // When requesting bundle from bundle server, query for dev bundle or release bundle
|
|
155
157
|
|
|
156
158
|
//! Module name used for loading the debug bundle.
|
|
157
159
|
//! e.g. The modules name registered in the jsbundle via AppRegistry.registerComponent('ModuleName', () =>
|
|
@@ -451,6 +451,7 @@ void ReactInstanceWin::Initialize() noexcept {
|
|
|
451
451
|
devSettings->debuggerAttachCallback = GetDebuggerAttachCallback();
|
|
452
452
|
devSettings->enableDefaultCrashHandler = m_options.EnableDefaultCrashHandler();
|
|
453
453
|
devSettings->bundleAppId = BundleAppId();
|
|
454
|
+
devSettings->devBundle = RequestDevBundle();
|
|
454
455
|
devSettings->showDevMenuCallback = [weakThis]() noexcept {
|
|
455
456
|
if (auto strongThis = weakThis.GetStrongPtr()) {
|
|
456
457
|
strongThis->m_uiQueue->Post(
|
|
@@ -1166,6 +1167,10 @@ std::string ReactInstanceWin::BundleAppId() const noexcept {
|
|
|
1166
1167
|
return m_options.DeveloperSettings.BundleAppId;
|
|
1167
1168
|
}
|
|
1168
1169
|
|
|
1170
|
+
bool ReactInstanceWin::RequestDevBundle() const noexcept {
|
|
1171
|
+
return m_options.DeveloperSettings.DevBundle;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1169
1174
|
bool ReactInstanceWin::UseDeveloperSupport() const noexcept {
|
|
1170
1175
|
return m_options.UseDeveloperSupport();
|
|
1171
1176
|
}
|
|
@@ -80,6 +80,7 @@ class ReactInstanceWin final : public Mso::ActiveObject<IReactInstanceInternal>
|
|
|
80
80
|
bool RequestInlineSourceMap() const noexcept;
|
|
81
81
|
std::string JavaScriptBundleFile() const noexcept;
|
|
82
82
|
std::string BundleAppId() const noexcept;
|
|
83
|
+
bool RequestDevBundle() const noexcept;
|
|
83
84
|
bool UseDeveloperSupport() const noexcept;
|
|
84
85
|
JSIEngine JsiEngine() const noexcept;
|
|
85
86
|
|
|
@@ -66,6 +66,10 @@ struct ReactInstanceSettings : ReactInstanceSettingsT<ReactInstanceSettings> {
|
|
|
66
66
|
hstring BundleAppId() noexcept;
|
|
67
67
|
void BundleAppId(hstring const &value) noexcept;
|
|
68
68
|
|
|
69
|
+
//! When querying the bundle server for a bundle, should it request the dev bundle or release bundle
|
|
70
|
+
bool RequestDevBundle() noexcept;
|
|
71
|
+
void RequestDevBundle(bool value) noexcept;
|
|
72
|
+
|
|
69
73
|
//! Should the instance run in a remote environment such as within a browser
|
|
70
74
|
//! By default, this is using a browser navigated to http://localhost:8081/debugger-ui served
|
|
71
75
|
//! by Metro/Haul. Debugging will start as soon as the React Native instance is loaded.
|
|
@@ -174,6 +178,7 @@ struct ReactInstanceSettings : ReactInstanceSettingsT<ReactInstanceSettings> {
|
|
|
174
178
|
single_threaded_vector<IReactPackageProvider>()};
|
|
175
179
|
hstring m_javaScriptBundleFile{};
|
|
176
180
|
hstring m_bundleAppId{};
|
|
181
|
+
bool m_devBundle{true};
|
|
177
182
|
bool m_enableJITCompilation{true};
|
|
178
183
|
bool m_enableByteCodeCaching{false};
|
|
179
184
|
hstring m_byteCodeFileUri{};
|
|
@@ -239,6 +244,14 @@ inline void ReactInstanceSettings::BundleAppId(hstring const &value) noexcept {
|
|
|
239
244
|
m_bundleAppId = value;
|
|
240
245
|
}
|
|
241
246
|
|
|
247
|
+
inline bool ReactInstanceSettings::RequestDevBundle() noexcept {
|
|
248
|
+
return m_devBundle;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
inline void ReactInstanceSettings::RequestDevBundle(bool value) noexcept {
|
|
252
|
+
m_devBundle = value;
|
|
253
|
+
}
|
|
254
|
+
|
|
242
255
|
inline bool ReactInstanceSettings::EnableJITCompilation() noexcept {
|
|
243
256
|
return m_enableJITCompilation;
|
|
244
257
|
}
|
|
@@ -111,6 +111,10 @@ namespace Microsoft.ReactNative
|
|
|
111
111
|
"If no value is set, the parameter will not be passed.")
|
|
112
112
|
String BundleAppId { get; set; };
|
|
113
113
|
|
|
114
|
+
DOC_STRING(
|
|
115
|
+
"When querying the bundle server for a bundle, should it request the dev bundle or release bundle.")
|
|
116
|
+
Boolean RequestDevBundle { get; set; };
|
|
117
|
+
|
|
114
118
|
DOC_STRING(
|
|
115
119
|
"Controls whether the instance JavaScript runs in a remote environment such as within a browser.\n"
|
|
116
120
|
"By default, this is using a browser navigated to http://localhost:8081/debugger-ui served by Metro/Haul.\n"
|
|
@@ -151,6 +151,7 @@ IAsyncAction ReactNativeHost::ReloadInstance() noexcept {
|
|
|
151
151
|
reactOptions.DeveloperSettings.SourceBundlePort = m_instanceSettings.SourceBundlePort();
|
|
152
152
|
reactOptions.DeveloperSettings.RequestInlineSourceMap = m_instanceSettings.RequestInlineSourceMap();
|
|
153
153
|
reactOptions.DeveloperSettings.BundleAppId = to_string(m_instanceSettings.BundleAppId());
|
|
154
|
+
reactOptions.DeveloperSettings.DevBundle = m_instanceSettings.RequestDevBundle();
|
|
154
155
|
|
|
155
156
|
reactOptions.ByteCodeFileUri = to_string(m_instanceSettings.ByteCodeFileUri());
|
|
156
157
|
reactOptions.EnableByteCodeCaching = m_instanceSettings.EnableByteCodeCaching();
|
|
@@ -125,12 +125,9 @@ void ControlViewManager::SetLayoutProps(
|
|
|
125
125
|
|
|
126
126
|
void ControlViewManager::OnPropertiesUpdated(ShadowNodeBase *node) {
|
|
127
127
|
auto control(node->GetView().as<xaml::Controls::Control>());
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
const auto isTabStop = !node->IsDisable() && (node->IsAccessible() && node->IsFocusable());
|
|
132
|
-
const auto accessibilityView =
|
|
133
|
-
isTabStop ? xaml::Automation::Peers::AccessibilityView::Content : xaml::Automation::Peers::AccessibilityView::Raw;
|
|
128
|
+
const auto isTabStop = !node->IsDisable() && node->IsFocusable();
|
|
129
|
+
const auto accessibilityView = node->IsAccessible() ? xaml::Automation::Peers::AccessibilityView::Content
|
|
130
|
+
: xaml::Automation::Peers::AccessibilityView::Raw;
|
|
134
131
|
control.IsTabStop(isTabStop);
|
|
135
132
|
xaml::Automation::AutomationProperties::SetAccessibilityView(control, accessibilityView);
|
|
136
133
|
}
|
|
@@ -595,20 +595,13 @@ void ViewViewManager::TryUpdateView(
|
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
void ViewViewManager::SyncFocusableAndAccessible(ViewShadowNode *pViewShadowNode, bool useControl) {
|
|
598
|
-
// If developer specifies either the accessible and focusable prop to be false
|
|
599
|
-
// remove accessibility and keyboard focus for component. Exception is made
|
|
600
|
-
// for case where a View with undefined onPress is specified, where
|
|
601
|
-
// component gains accessibility focus when either the accessible and focusable prop are true.
|
|
602
598
|
if (useControl) {
|
|
603
599
|
const auto isFocusable = pViewShadowNode->IsFocusable();
|
|
604
600
|
const auto isAccessible = pViewShadowNode->IsAccessible();
|
|
605
|
-
const auto isPressable = pViewShadowNode->OnClick();
|
|
606
601
|
const auto isDisabled = pViewShadowNode->IsDisable();
|
|
607
|
-
const auto isTabStop =
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
const auto accessibilityView = isTabStop ? xaml::Automation::Peers::AccessibilityView::Content
|
|
611
|
-
: xaml::Automation::Peers::AccessibilityView::Raw;
|
|
602
|
+
const auto isTabStop = !isDisabled && isFocusable;
|
|
603
|
+
const auto accessibilityView = isAccessible ? xaml::Automation::Peers::AccessibilityView::Content
|
|
604
|
+
: xaml::Automation::Peers::AccessibilityView::Raw;
|
|
612
605
|
pViewShadowNode->GetControl().IsTabStop(isTabStop);
|
|
613
606
|
xaml::Automation::AutomationProperties::SetAccessibilityView(pViewShadowNode->GetControl(), accessibilityView);
|
|
614
607
|
}
|
|
@@ -32,6 +32,8 @@ namespace Microsoft.ReactNative.Managed
|
|
|
32
32
|
|
|
33
33
|
public bool UseWebDebugger => IsValid ? Handle.UseWebDebugger : false;
|
|
34
34
|
|
|
35
|
+
public bool RequestDevBundle => IsValid ? Handle.RequestDevBundle : true;
|
|
36
|
+
|
|
35
37
|
public IReactSettingsSnapshot Handle { get; }
|
|
36
38
|
|
|
37
39
|
public bool IsValid => Handle != null;
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.72.0-preview.
|
|
13
|
+
<ReactNativeWindowsVersion>0.72.0-preview.7</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>72</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>56e59fa610772e15646fa444a1fe246ed14ebfd3</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
<PropertyGroup Label="NuGet">
|
|
11
11
|
<!-- Should match entry in $(ReactNativeWindowsDir)vnext\Directory.Build.props -->
|
|
12
|
-
<!--See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target-->
|
|
13
|
-
|
|
12
|
+
<!-- See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target -->
|
|
13
|
+
<!-- RestoreUseStaticGraphEvaluation broke in VS 17.6, see https://github.com/microsoft/react-native-windows/issues/11670 -->
|
|
14
|
+
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true' AND $([MSBuild]::VersionLessThan('$(MSBuildVersion)', '17.6')) AND '$(DisableRestoreUseStaticGraphEvaluation)' != 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
14
15
|
|
|
15
16
|
<!-- Ensure PackageReference compatibility for any consuming projects/apps -->
|
|
16
17
|
<ResolveNuGetPackages>false</ResolveNuGetPackages>
|
package/Shared/DevSettings.h
CHANGED
package/Shared/OInstance.cpp
CHANGED
|
@@ -448,7 +448,7 @@ void InstanceImpl::loadBundleInternal(std::string &&jsBundleRelativePath, bool s
|
|
|
448
448
|
m_devSettings->debugBundlePath.empty() ? jsBundleRelativePath : m_devSettings->debugBundlePath,
|
|
449
449
|
m_devSettings->platformName,
|
|
450
450
|
m_devSettings->bundleAppId,
|
|
451
|
-
|
|
451
|
+
m_devSettings->devBundle,
|
|
452
452
|
m_devSettings->useFastRefresh,
|
|
453
453
|
m_devSettings->inlineSourceMap,
|
|
454
454
|
hermesBytecodeVersion);
|
|
@@ -470,8 +470,8 @@ void InstanceImpl::loadBundleInternal(std::string &&jsBundleRelativePath, bool s
|
|
|
470
470
|
m_devSettings->debugBundlePath.empty() ? jsBundleRelativePath : m_devSettings->debugBundlePath,
|
|
471
471
|
m_devSettings->platformName,
|
|
472
472
|
m_devSettings->bundleAppId,
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
m_devSettings->devBundle,
|
|
474
|
+
m_devSettings->useFastRefresh,
|
|
475
475
|
m_devSettings->inlineSourceMap,
|
|
476
476
|
hermesBytecodeVersion);
|
|
477
477
|
|
|
@@ -607,7 +607,7 @@ std::vector<std::unique_ptr<NativeModule>> InstanceImpl::GetDefaultNativeModules
|
|
|
607
607
|
m_devSettings->debugBundlePath,
|
|
608
608
|
m_devSettings->platformName,
|
|
609
609
|
m_devSettings->bundleAppId,
|
|
610
|
-
|
|
610
|
+
m_devSettings->devBundle,
|
|
611
611
|
m_devSettings->useFastRefresh,
|
|
612
612
|
m_devSettings->inlineSourceMap,
|
|
613
613
|
hermesBytecodeVersion)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.72.0-preview.
|
|
3
|
+
"version": "0.72.0-preview.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "11.2.3",
|
|
27
27
|
"@react-native-community/cli-platform-android": "11.2.3",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "11.2.3",
|
|
29
|
-
"@react-native-windows/cli": "0.72.0-preview.
|
|
29
|
+
"@react-native-windows/cli": "0.72.0-preview.5",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
31
|
"@react-native/assets-registry": "^0.72.0",
|
|
32
32
|
"@react-native/codegen": "^0.72.3",
|