react-native-macos 0.76.6 → 0.76.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/Libraries/AppDelegate/RCTAppDelegate.mm +0 -5
- package/Libraries/AppDelegate/RCTAppSetupUtils.h +1 -1
- package/Libraries/AppDelegate/RCTAppSetupUtils.mm +4 -2
- package/Libraries/AppDelegate/RCTRootViewFactory.mm +2 -3
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/RCTImageLoader.mm +9 -1
- package/Libraries/Image/RCTImageView.mm +5 -0
- package/Libraries/Image/RCTImageViewManager.mm +4 -0
- package/Libraries/Network/RCTDataRequestHandler.mm +10 -3
- package/Libraries/Network/RCTFileRequestHandler.mm +11 -4
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm +3 -1
- package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +2 -1
- package/Libraries/Utilities/Appearance.js +3 -1
- package/React/Base/RCTRootView.m +58 -0
- package/React/Base/RCTTouchHandler.m +6 -5
- package/React/Base/RCTUIKit.h +4 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm +2 -5
- package/React/Base/macOS/RCTUIKit.m +9 -2
- package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +2354 -0
- package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +2820 -0
- package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.h +2 -1
- package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +8 -18
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h +3 -0
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +17 -18
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +16 -5
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +14 -11
- package/React/Views/RCTFont.h +2 -0
- package/React/Views/RCTFont.mm +4 -5
- package/React/Views/RCTView.m +2 -11
- package/React/Views/ScrollView/RCTScrollView.h +3 -1
- package/React/Views/ScrollView/RCTScrollView.m +8 -0
- package/React/Views/UIView+React.m +5 -2
- package/ReactAndroid/api/ReactAndroid.api +4 -0
- package/ReactAndroid/cmake-utils/ReactNative-application.cmake +18 -3
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/HeadlessJsTaskService.java +12 -13
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +8 -2
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java +15 -8
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +1 -7
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +1 -11
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +1 -12
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +11 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +11 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.kt +25 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.java +16 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java +1 -0
- package/ReactAndroid/src/main/jni/react/fabric/Binding.cpp +17 -19
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +1 -15
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +1 -4
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +1 -5
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +1 -6
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +47 -65
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +2 -4
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +1 -5
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +1 -2
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +9 -0
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +1 -6
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +1 -3
- package/ReactCommon/react/renderer/attributedstring/TextAttributes.cpp +5 -0
- package/ReactCommon/react/renderer/attributedstring/TextAttributes.h +2 -0
- package/ReactCommon/react/renderer/attributedstring/conversions.h +5 -0
- package/ReactCommon/react/renderer/components/rncore/Props.cpp +1 -1
- package/ReactCommon/react/renderer/components/rncore/Props.h +16 -12
- package/ReactCommon/react/renderer/components/rncore/States.h +0 -26
- package/ReactCommon/react/renderer/components/text/BaseTextProps.cpp +12 -0
- package/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h +2 -3
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm +8 -4
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTFontUtils.mm +31 -11
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextPrimitivesConversions.h +2 -2
- package/ReactCommon/react/renderer/uimanager/UIManager.cpp +29 -8
- package/ReactCommon/react/runtime/ReactInstance.cpp +39 -35
- package/ReactCommon/react/runtime/ReactInstance.h +2 -1
- package/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTInstance.mm +3 -2
- package/gradle/libs.versions.toml +1 -1
- package/jest/setup.js +5 -1
- package/package.json +8 -8
- package/scripts/cocoapods/new_architecture.rb +1 -1
- package/scripts/cocoapods/utils.rb +6 -6
- package/scripts/codegen/generate-artifacts-executor.js +68 -7
- package/src/private/featureflags/ReactNativeFeatureFlags.js +1 -6
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +1 -2
- package/Libraries/AddressSanitizerCrash/AddressSanitizerCrash.js +0 -13
- package/Libraries/AddressSanitizerCrash/NativeAddressSanitizerCrash.js +0 -19
- package/React/CoreModules/RCTAddressSanitizerCrashManager.h +0 -12
- package/React/CoreModules/RCTAddressSanitizerCrashManager.mm +0 -18
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
* UIView class for root <ModalHostView> component.
|
|
12
12
|
*/
|
|
13
13
|
@interface RCTModalHostViewComponentView : RCTViewComponentView
|
|
14
|
-
|
|
15
14
|
#if !TARGET_OS_OSX // [macOS]
|
|
15
|
+
<UIAdaptivePresentationControllerDelegate>
|
|
16
|
+
|
|
16
17
|
/**
|
|
17
18
|
* Subclasses may override this method and present the modal on different view controller.
|
|
18
19
|
* Default implementation presents the modal on `[self reactViewController]`.
|
|
@@ -137,9 +137,7 @@ static ModalHostViewEventEmitter::OnOrientationChange onOrientationChangeStruct(
|
|
|
137
137
|
completion:(void (^)(void))completion
|
|
138
138
|
{
|
|
139
139
|
UIViewController *controller = [self reactViewController];
|
|
140
|
-
[
|
|
141
|
-
animated:animated
|
|
142
|
-
completion:completion];
|
|
140
|
+
[controller presentViewController:modalViewController animated:animated completion:completion];
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
- (void)dismissViewController:(UIViewController *)modalViewController
|
|
@@ -154,6 +152,8 @@ static ModalHostViewEventEmitter::OnOrientationChange onOrientationChangeStruct(
|
|
|
154
152
|
{
|
|
155
153
|
BOOL shouldBePresented = !_isPresented && _shouldPresent && self.window;
|
|
156
154
|
if (shouldBePresented) {
|
|
155
|
+
self.viewController.presentationController.delegate = self;
|
|
156
|
+
|
|
157
157
|
_isPresented = YES;
|
|
158
158
|
[self presentViewController:self.viewController
|
|
159
159
|
animated:_shouldAnimatePresentation
|
|
@@ -279,24 +279,14 @@ static ModalHostViewEventEmitter::OnOrientationChange onOrientationChangeStruct(
|
|
|
279
279
|
[childComponentView removeFromSuperview];
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
#pragma mark -
|
|
282
|
+
#pragma mark - UIAdaptivePresentationControllerDelegate
|
|
283
283
|
|
|
284
|
-
- (
|
|
284
|
+
- (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)controller
|
|
285
285
|
{
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
if ([topController isKindOfClass:[UINavigationController class]]) {
|
|
291
|
-
UINavigationController *navigationController = (UINavigationController *)topController;
|
|
292
|
-
topController = navigationController.visibleViewController;
|
|
293
|
-
return [self _topMostViewControllerFrom:topController];
|
|
294
|
-
} else if ([topController isKindOfClass:[UITabBarController class]]) {
|
|
295
|
-
UITabBarController *tabBarController = (UITabBarController *)topController;
|
|
296
|
-
topController = tabBarController.selectedViewController;
|
|
297
|
-
return [self _topMostViewControllerFrom:topController];
|
|
286
|
+
auto eventEmitter = [self modalEventEmitter];
|
|
287
|
+
if (eventEmitter) {
|
|
288
|
+
eventEmitter->onRequestClose({});
|
|
298
289
|
}
|
|
299
|
-
return topController;
|
|
300
290
|
}
|
|
301
291
|
|
|
302
292
|
#endif // [macOS]
|
|
@@ -38,6 +38,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
38
38
|
/** Focus area of newly-activated text input relative to the window to compare against UIKeyboardFrameBegin/End */
|
|
39
39
|
@property (nonatomic, assign) CGRect firstResponderFocus;
|
|
40
40
|
|
|
41
|
+
/** newly-activated text input outside of the scroll view */
|
|
42
|
+
@property (nonatomic, weak) RCTPlatformView *firstResponderViewOutsideScrollView; // [macOS]
|
|
43
|
+
|
|
41
44
|
/*
|
|
42
45
|
* Returns the subview of the scroll view that the component uses to mount all subcomponents into. That's useful to
|
|
43
46
|
* separate component views from auxiliary views to be able to reliably implement pull-to-refresh- and RTL-related
|
|
@@ -199,16 +199,18 @@ RCTSendScrollEventForNativeAnimations_DEPRECATED(RCTUIScrollView *scrollView, NS
|
|
|
199
199
|
UIViewAnimationCurve curve =
|
|
200
200
|
(UIViewAnimationCurve)[notification.userInfo[UIKeyboardAnimationCurveUserInfoKey] unsignedIntegerValue];
|
|
201
201
|
CGRect keyboardEndFrame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
|
|
202
|
+
CGRect keyboardBeginFrame = [notification.userInfo[UIKeyboardFrameBeginUserInfoKey] CGRectValue];
|
|
202
203
|
|
|
203
204
|
CGPoint absoluteViewOrigin = [self convertPoint:self.bounds.origin toView:nil];
|
|
204
205
|
CGFloat scrollViewLowerY = isInverted ? absoluteViewOrigin.y : absoluteViewOrigin.y + self.bounds.size.height;
|
|
205
206
|
|
|
206
207
|
UIEdgeInsets newEdgeInsets = _scrollView.contentInset;
|
|
207
208
|
CGFloat inset = MAX(scrollViewLowerY - keyboardEndFrame.origin.y, 0);
|
|
209
|
+
const auto &props = static_cast<const ScrollViewProps &>(*_props);
|
|
208
210
|
if (isInverted) {
|
|
209
|
-
newEdgeInsets.top = MAX(inset,
|
|
211
|
+
newEdgeInsets.top = MAX(inset, props.contentInset.top);
|
|
210
212
|
} else {
|
|
211
|
-
newEdgeInsets.bottom = MAX(inset,
|
|
213
|
+
newEdgeInsets.bottom = MAX(inset, props.contentInset.bottom);
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
CGPoint newContentOffset = _scrollView.contentOffset;
|
|
@@ -220,21 +222,18 @@ RCTSendScrollEventForNativeAnimations_DEPRECATED(RCTUIScrollView *scrollView, NS
|
|
|
220
222
|
from:self
|
|
221
223
|
forEvent:nil]) {
|
|
222
224
|
if (CGRectEqualToRect(_firstResponderFocus, CGRectNull)) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
if (focusEnd > keyboardEndFrame.origin.y) {
|
|
236
|
-
// Text field active region is below visible area with keyboard - update diff to bring into view
|
|
237
|
-
contentDiff = keyboardEndFrame.origin.y - focusEnd;
|
|
225
|
+
UIView *inputAccessoryView = _firstResponderViewOutsideScrollView.inputAccessoryView;
|
|
226
|
+
if (inputAccessoryView) {
|
|
227
|
+
// Text input view is within the inputAccessoryView.
|
|
228
|
+
contentDiff = keyboardEndFrame.origin.y - keyboardBeginFrame.origin.y;
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
// Inner text field focused
|
|
232
|
+
CGFloat focusEnd = CGRectGetMaxY(self.firstResponderFocus);
|
|
233
|
+
if (focusEnd > keyboardEndFrame.origin.y) {
|
|
234
|
+
// Text field active region is below visible area with keyboard - update diff to bring into view
|
|
235
|
+
contentDiff = keyboardEndFrame.origin.y - focusEnd;
|
|
236
|
+
}
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
239
|
|
|
@@ -260,7 +259,7 @@ RCTSendScrollEventForNativeAnimations_DEPRECATED(RCTUIScrollView *scrollView, NS
|
|
|
260
259
|
animations:^{
|
|
261
260
|
self->_scrollView.contentInset = newEdgeInsets;
|
|
262
261
|
self->_scrollView.verticalScrollIndicatorInsets = newEdgeInsets;
|
|
263
|
-
[self
|
|
262
|
+
[self scrollTo:newContentOffset.x y:newContentOffset.y animated:NO];
|
|
264
263
|
}
|
|
265
264
|
completion:nil];
|
|
266
265
|
}
|
|
@@ -107,9 +107,11 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
107
107
|
NSMutableDictionary<NSAttributedStringKey, id> *defaultAttributes =
|
|
108
108
|
[_backedTextInputView.defaultTextAttributes mutableCopy];
|
|
109
109
|
|
|
110
|
+
#if !TARGET_OS_MACCATALYST
|
|
110
111
|
RCTWeakEventEmitterWrapper *eventEmitterWrapper = [RCTWeakEventEmitterWrapper new];
|
|
111
112
|
eventEmitterWrapper.eventEmitter = _eventEmitter;
|
|
112
113
|
defaultAttributes[RCTAttributedStringEventEmitterKey] = eventEmitterWrapper;
|
|
114
|
+
#endif
|
|
113
115
|
|
|
114
116
|
_backedTextInputView.defaultTextAttributes = defaultAttributes;
|
|
115
117
|
}
|
|
@@ -139,6 +141,7 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
139
141
|
#if !TARGET_OS_OSX // [macOS]
|
|
140
142
|
if (![self isDescendantOfView:scrollView.scrollView] || !_backedTextInputView.isFirstResponder) {
|
|
141
143
|
// View is outside scroll view or it's not a first responder.
|
|
144
|
+
scrollView.firstResponderViewOutsideScrollView = _backedTextInputView;
|
|
142
145
|
return;
|
|
143
146
|
}
|
|
144
147
|
|
|
@@ -283,8 +286,10 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
283
286
|
if (newTextInputProps.textAttributes != oldTextInputProps.textAttributes) {
|
|
284
287
|
NSMutableDictionary<NSAttributedStringKey, id> *defaultAttributes =
|
|
285
288
|
RCTNSTextAttributesFromTextAttributes(newTextInputProps.getEffectiveTextAttributes(RCTFontSizeMultiplier()));
|
|
289
|
+
#if !TARGET_OS_MACCATALYST
|
|
286
290
|
defaultAttributes[RCTAttributedStringEventEmitterKey] =
|
|
287
291
|
_backedTextInputView.defaultTextAttributes[RCTAttributedStringEventEmitterKey];
|
|
292
|
+
#endif
|
|
288
293
|
_backedTextInputView.defaultTextAttributes = defaultAttributes;
|
|
289
294
|
}
|
|
290
295
|
|
|
@@ -473,10 +478,15 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
473
478
|
|
|
474
479
|
- (void)textInputDidChangeSelection
|
|
475
480
|
{
|
|
476
|
-
[self _updateTypingAttributes];
|
|
477
481
|
if (_comingFromJS) {
|
|
478
482
|
return;
|
|
479
483
|
}
|
|
484
|
+
|
|
485
|
+
// T207198334: Setting a new AttributedString (_comingFromJS) will trigger a selection change before the backing
|
|
486
|
+
// string is updated, so indicies won't point to what we want yet. Only respond to user selection change, and let
|
|
487
|
+
// `_setAttributedString` handle updating typing attributes if content changes.
|
|
488
|
+
[self _updateTypingAttributes];
|
|
489
|
+
|
|
480
490
|
const auto &props = static_cast<const TextInputProps &>(*_props);
|
|
481
491
|
if (props.traits.multiline && ![_lastStringStateWasUpdatedWith isEqual:_backedTextInputView.attributedText]) {
|
|
482
492
|
[self textInputDidChange];
|
|
@@ -805,18 +815,19 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
805
815
|
// https://github.com/facebook/react-native/blob/3102a58df38d96f3dacef0530e4dbb399037fcd2/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/SetSpanOperation.kt#L30
|
|
806
816
|
- (void)_updateTypingAttributes
|
|
807
817
|
{
|
|
808
|
-
if (_backedTextInputView.attributedText.length > 0) {
|
|
809
818
|
#if !TARGET_OS_OSX // [macOS]
|
|
819
|
+
if (_backedTextInputView.attributedText.length > 0 && _backedTextInputView.selectedTextRange != nil) {
|
|
810
820
|
NSUInteger offsetStart = [_backedTextInputView offsetFromPosition:_backedTextInputView.beginningOfDocument
|
|
811
821
|
toPosition:_backedTextInputView.selectedTextRange.start];
|
|
812
|
-
|
|
813
|
-
NSUInteger offsetStart = [_backedTextInputView selectedTextRange].location;
|
|
814
|
-
#endif // macOS]
|
|
822
|
+
|
|
815
823
|
|
|
816
824
|
NSUInteger samplePoint = offsetStart == 0 ? 0 : offsetStart - 1;
|
|
817
825
|
_backedTextInputView.typingAttributes = [_backedTextInputView.attributedText attributesAtIndex:samplePoint
|
|
818
826
|
effectiveRange:NULL];
|
|
819
827
|
}
|
|
828
|
+
#else // [macOS
|
|
829
|
+
// TODO
|
|
830
|
+
#endif // macOS]
|
|
820
831
|
}
|
|
821
832
|
|
|
822
833
|
- (void)_setMultiline:(BOOL)multiline
|
|
@@ -1165,15 +1165,10 @@ static RCTCursor RCTCursorFromCursor(Cursor cursor)
|
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
1167
|
// clipping
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
cornerInsets:RCTGetCornerInsets(
|
|
1173
|
-
RCTCornerRadiiFromBorderRadii(borderMetrics.borderRadii),
|
|
1174
|
-
RCTUIEdgeInsetsFromEdgeInsets(borderMetrics.borderWidths))];
|
|
1175
|
-
self.currentContainerView.layer.mask = maskLayer;
|
|
1176
|
-
} else {
|
|
1168
|
+
self.currentContainerView.layer.mask = nil;
|
|
1169
|
+
if (self.currentContainerView.clipsToBounds) {
|
|
1170
|
+
BOOL clipToPaddingBox = ReactNativeFeatureFlags::enableIOSViewClipToPaddingBox();
|
|
1171
|
+
if (!clipToPaddingBox) {
|
|
1177
1172
|
if (borderMetrics.borderRadii.isUniform()) {
|
|
1178
1173
|
self.currentContainerView.layer.cornerRadius = borderMetrics.borderRadii.topLeft.horizontal;
|
|
1179
1174
|
} else {
|
|
@@ -1195,9 +1190,17 @@ static RCTCursor RCTCursorFromCursor(Cursor cursor)
|
|
|
1195
1190
|
subview.layer.mask = [self createMaskLayer:subview.bounds cornerInsets:cornerInsets];
|
|
1196
1191
|
}
|
|
1197
1192
|
}
|
|
1193
|
+
} else if (
|
|
1194
|
+
!borderMetrics.borderWidths.isUniform() || borderMetrics.borderWidths.left != 0 ||
|
|
1195
|
+
!borderMetrics.borderRadii.isUniform()) {
|
|
1196
|
+
CALayer *maskLayer = [self createMaskLayer:RCTCGRectFromRect(_layoutMetrics.getPaddingFrame())
|
|
1197
|
+
cornerInsets:RCTGetCornerInsets(
|
|
1198
|
+
RCTCornerRadiiFromBorderRadii(borderMetrics.borderRadii),
|
|
1199
|
+
RCTUIEdgeInsetsFromEdgeInsets(borderMetrics.borderWidths))];
|
|
1200
|
+
self.currentContainerView.layer.mask = maskLayer;
|
|
1201
|
+
} else {
|
|
1202
|
+
self.currentContainerView.layer.cornerRadius = borderMetrics.borderRadii.topLeft.horizontal;
|
|
1198
1203
|
}
|
|
1199
|
-
} else {
|
|
1200
|
-
self.currentContainerView.layer.mask = nil;
|
|
1201
1204
|
}
|
|
1202
1205
|
}
|
|
1203
1206
|
|
package/React/Views/RCTFont.h
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
#import <React/RCTConvert.h>
|
|
11
11
|
|
|
12
12
|
typedef UIFont * (^RCTFontHandler)(CGFloat fontSize, NSString *fontWeightDescription);
|
|
13
|
+
typedef CGFloat RCTFontWeight;
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* React Native will use the System font for rendering by default. If you want to
|
|
@@ -19,6 +20,7 @@ typedef UIFont * (^RCTFontHandler)(CGFloat fontSize, NSString *fontWeightDescrip
|
|
|
19
20
|
*/
|
|
20
21
|
RCT_EXTERN void RCTSetDefaultFontHandler(RCTFontHandler handler);
|
|
21
22
|
RCT_EXTERN BOOL RCTHasFontHandlerSet(void);
|
|
23
|
+
RCT_EXTERN RCTFontWeight RCTGetFontWeight(UIFont *font);
|
|
22
24
|
|
|
23
25
|
@interface RCTFont : NSObject
|
|
24
26
|
|
package/React/Views/RCTFont.mm
CHANGED
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
#import <CoreText/CoreText.h>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
static RCTFontWeight weightOfFont(UIFont *font)
|
|
14
|
+
RCTFontWeight RCTGetFontWeight(UIFont *font)
|
|
16
15
|
{
|
|
17
16
|
static NSArray<NSString *> *weightSuffixes;
|
|
18
17
|
static NSArray<NSNumber *> *fontWeights;
|
|
@@ -419,7 +418,7 @@ RCT_ARRAY_CONVERTER(RCTFontVariantDescriptor)
|
|
|
419
418
|
if (font) {
|
|
420
419
|
familyName = font.familyName ?: defaultFontFamily;
|
|
421
420
|
fontSize = font.pointSize ?: defaultFontSize;
|
|
422
|
-
fontWeight =
|
|
421
|
+
fontWeight = RCTGetFontWeight(font);
|
|
423
422
|
isItalic = isItalicFont(font);
|
|
424
423
|
isCondensed = isCondensedFont(font);
|
|
425
424
|
}
|
|
@@ -467,7 +466,7 @@ RCT_ARRAY_CONVERTER(RCTFontVariantDescriptor)
|
|
|
467
466
|
// It's actually a font name, not a font family name,
|
|
468
467
|
// but we'll do what was meant, not what was said.
|
|
469
468
|
familyName = font.familyName;
|
|
470
|
-
fontWeight = weight ? fontWeight :
|
|
469
|
+
fontWeight = weight ? fontWeight : RCTGetFontWeight(font);
|
|
471
470
|
isItalic = style ? isItalic : isItalicFont(font);
|
|
472
471
|
isCondensed = isCondensedFont(font);
|
|
473
472
|
} else {
|
|
@@ -493,7 +492,7 @@ RCT_ARRAY_CONVERTER(RCTFontVariantDescriptor)
|
|
|
493
492
|
for (NSString *name in names) {
|
|
494
493
|
UIFont *match = [UIFont fontWithName:name size:fontSize];
|
|
495
494
|
if (isItalic == isItalicFont(match) && isCondensed == isCondensedFont(match)) {
|
|
496
|
-
CGFloat testWeight =
|
|
495
|
+
CGFloat testWeight = RCTGetFontWeight(match);
|
|
497
496
|
if (ABS(testWeight - fontWeight) < ABS(closestWeight - fontWeight)) {
|
|
498
497
|
font = match;
|
|
499
498
|
closestWeight = testWeight;
|
package/React/Views/RCTView.m
CHANGED
|
@@ -252,17 +252,8 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : unused)
|
|
|
252
252
|
// of the hit view will return YES from -pointInside:withEvent:). See:
|
|
253
253
|
// - https://developer.apple.com/library/ios/qa/qa2013/qa1812.html
|
|
254
254
|
for (RCTUIView *subview in [sortedSubviews reverseObjectEnumerator]) { // [macOS]
|
|
255
|
-
CGPoint pointForHitTest =
|
|
256
|
-
|
|
257
|
-
pointForHitTest = [subview convertPoint:point fromView:self];
|
|
258
|
-
#else // [macOS
|
|
259
|
-
if ([subview isKindOfClass:[RCTView class]]) {
|
|
260
|
-
pointForHitTest = [subview convertPoint:point fromView:self];
|
|
261
|
-
} else {
|
|
262
|
-
pointForHitTest = point;
|
|
263
|
-
}
|
|
264
|
-
#endif // macOS]
|
|
265
|
-
hitSubview = RCTUIViewHitTestWithEvent(subview, pointForHitTest, event); // macOS]
|
|
255
|
+
CGPoint pointForHitTest = [subview convertPoint:point fromView:self];
|
|
256
|
+
hitSubview = RCTUIViewHitTestWithEvent(subview, pointForHitTest, event); // [macOS]
|
|
266
257
|
if (hitSubview != nil) {
|
|
267
258
|
break;
|
|
268
259
|
}
|
|
@@ -57,8 +57,10 @@
|
|
|
57
57
|
@property (nonatomic, assign) BOOL inverted;
|
|
58
58
|
/** Focus area of newly-activated text input relative to the window to compare against UIKeyboardFrameBegin/End */
|
|
59
59
|
@property (nonatomic, assign) CGRect firstResponderFocus;
|
|
60
|
-
|
|
60
|
+
/** newly-activated text input outside of the scroll view */
|
|
61
|
+
@property (nonatomic, weak) RCTPlatformView *firstResponderViewOutsideScrollView; // [macOS]
|
|
61
62
|
|
|
63
|
+
@property (nonatomic, assign) BOOL hasOverlayStyleIndicator; // [macOS]
|
|
62
64
|
|
|
63
65
|
// NOTE: currently these event props are only declared so we can export the
|
|
64
66
|
// event names to JS - we don't call the blocks directly because scroll events
|
|
@@ -455,6 +455,14 @@ static inline UIViewAnimationOptions animationOptionsWithCurve(UIViewAnimationCu
|
|
|
455
455
|
if (!didFocusExternalTextField && focusEnd > endFrame.origin.y) {
|
|
456
456
|
// Text field active region is below visible area with keyboard - update diff to bring into view
|
|
457
457
|
contentDiff = endFrame.origin.y - focusEnd;
|
|
458
|
+
} else {
|
|
459
|
+
#if TARGET_OS_IOS // [visionOS]
|
|
460
|
+
UIView *inputAccessoryView = _firstResponderViewOutsideScrollView.inputAccessoryView;
|
|
461
|
+
if (inputAccessoryView) {
|
|
462
|
+
// Text input view is within the inputAccessoryView.
|
|
463
|
+
contentDiff = endFrame.origin.y - beginFrame.origin.y;
|
|
464
|
+
}
|
|
465
|
+
#endif // [visionOS]
|
|
458
466
|
}
|
|
459
467
|
} else if (endFrame.origin.y <= beginFrame.origin.y) {
|
|
460
468
|
// Keyboard opened for other reason
|
|
@@ -573,10 +573,13 @@ static __weak RCTPlatformView *_pendingFocusView; // [macOS]
|
|
|
573
573
|
|
|
574
574
|
// [macOS
|
|
575
575
|
#pragma mark - Hit testing
|
|
576
|
-
#if TARGET_OS_OSX
|
|
576
|
+
#if TARGET_OS_OSX
|
|
577
|
+
// IMPORTANT -- point is in local coordinate space, unlike the hitTest: version from OSX which is in super's coordinate space
|
|
577
578
|
- (RCTPlatformView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
|
|
578
579
|
{
|
|
579
|
-
|
|
580
|
+
NSView *superview = [self superview];
|
|
581
|
+
NSPoint pointInSuper = superview != nil ? [self convertPoint:point toView:superview] : point;
|
|
582
|
+
return [self hitTest:pointInSuper];
|
|
580
583
|
}
|
|
581
584
|
#endif // macOS]
|
|
582
585
|
|
|
@@ -7280,6 +7280,8 @@ public final class com/facebook/react/views/scroll/ReactScrollViewHelper {
|
|
|
7280
7280
|
public static final field SNAP_ALIGNMENT_END I
|
|
7281
7281
|
public static final field SNAP_ALIGNMENT_START I
|
|
7282
7282
|
public static final fun addScrollListener (Lcom/facebook/react/views/scroll/ReactScrollViewHelper$ScrollListener;)V
|
|
7283
|
+
public static final fun dispatchMomentumEndOnAnimationEnd (Landroid/view/ViewGroup;)V
|
|
7284
|
+
public static final fun emitLayoutChangeEvent (Landroid/view/ViewGroup;)V
|
|
7283
7285
|
public static final fun emitLayoutEvent (Landroid/view/ViewGroup;)V
|
|
7284
7286
|
public static final fun emitScrollBeginDragEvent (Landroid/view/ViewGroup;)V
|
|
7285
7287
|
public static final fun emitScrollEndDragEvent (Landroid/view/ViewGroup;FF)V
|
|
@@ -7857,6 +7859,7 @@ public class com/facebook/react/views/text/TextAttributeProps {
|
|
|
7857
7859
|
public static final field TA_KEY_LETTER_SPACING S
|
|
7858
7860
|
public static final field TA_KEY_LINE_BREAK_STRATEGY S
|
|
7859
7861
|
public static final field TA_KEY_LINE_HEIGHT S
|
|
7862
|
+
public static final field TA_KEY_MAX_FONT_SIZE_MULTIPLIER S
|
|
7860
7863
|
public static final field TA_KEY_OPACITY S
|
|
7861
7864
|
public static final field TA_KEY_ROLE S
|
|
7862
7865
|
public static final field TA_KEY_TEXT_DECORATION_COLOR S
|
|
@@ -7889,6 +7892,7 @@ public class com/facebook/react/views/text/TextAttributeProps {
|
|
|
7889
7892
|
protected field mLetterSpacingInput F
|
|
7890
7893
|
protected field mLineHeight F
|
|
7891
7894
|
protected field mLineHeightInput F
|
|
7895
|
+
protected field mMaxFontSizeMultiplier F
|
|
7892
7896
|
protected field mNumberOfLines I
|
|
7893
7897
|
protected field mOpacity F
|
|
7894
7898
|
protected field mRole Lcom/facebook/react/uimanager/ReactAccessibilityDelegate$Role;
|
|
@@ -34,9 +34,24 @@ set(BUILD_DIR ${PROJECT_BUILD_DIR})
|
|
|
34
34
|
file(TO_CMAKE_PATH "${BUILD_DIR}" BUILD_DIR)
|
|
35
35
|
file(TO_CMAKE_PATH "${REACT_ANDROID_DIR}" REACT_ANDROID_DIR)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
if (PROJECT_ROOT_DIR)
|
|
38
|
+
# This empty `if` is just to silence a CMake warning and make sure the `PROJECT_ROOT_DIR`
|
|
39
|
+
# variable is defined if user need to access it.
|
|
40
|
+
endif ()
|
|
41
|
+
|
|
42
|
+
file(GLOB override_cpp_SRC CONFIGURE_DEPENDS *.cpp)
|
|
43
|
+
# We check if the user is providing a custom OnLoad.cpp file. If so, we pick that
|
|
44
|
+
# for compilation. Otherwise we fallback to using the `default-app-setup/OnLoad.cpp`
|
|
45
|
+
# file instead.
|
|
46
|
+
if(override_cpp_SRC)
|
|
47
|
+
file(GLOB input_SRC CONFIGURE_DEPENDS
|
|
48
|
+
*.cpp
|
|
49
|
+
${BUILD_DIR}/generated/autolinking/src/main/jni/*.cpp)
|
|
50
|
+
else()
|
|
51
|
+
file(GLOB input_SRC CONFIGURE_DEPENDS
|
|
52
|
+
${REACT_ANDROID_DIR}/cmake-utils/default-app-setup/*.cpp
|
|
53
|
+
${BUILD_DIR}/generated/autolinking/src/main/jni/*.cpp)
|
|
54
|
+
endif()
|
|
40
55
|
|
|
41
56
|
add_library(${CMAKE_PROJECT_NAME} SHARED ${input_SRC})
|
|
42
57
|
|
|
@@ -179,31 +179,30 @@ public abstract class HeadlessJsTaskService extends Service implements HeadlessJ
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
private void createReactContextAndScheduleTask(final HeadlessJsTaskConfig taskConfig) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
final ReactInstanceManager reactInstanceManager =
|
|
186
|
-
getReactNativeHost().getReactInstanceManager();
|
|
187
|
-
|
|
188
|
-
reactInstanceManager.addReactInstanceEventListener(
|
|
182
|
+
if (ReactFeatureFlags.enableBridgelessArchitecture) {
|
|
183
|
+
final ReactHost reactHost = getReactHost();
|
|
184
|
+
reactHost.addReactInstanceEventListener(
|
|
189
185
|
new ReactInstanceEventListener() {
|
|
190
186
|
@Override
|
|
191
187
|
public void onReactContextInitialized(@NonNull ReactContext reactContext) {
|
|
192
188
|
invokeStartTask(reactContext, taskConfig);
|
|
193
|
-
|
|
189
|
+
reactHost.removeReactInstanceEventListener(this);
|
|
194
190
|
}
|
|
195
191
|
});
|
|
196
|
-
|
|
197
|
-
} else {
|
|
198
|
-
|
|
192
|
+
reactHost.start();
|
|
193
|
+
} else {
|
|
194
|
+
final ReactInstanceManager reactInstanceManager =
|
|
195
|
+
getReactNativeHost().getReactInstanceManager();
|
|
196
|
+
|
|
197
|
+
reactInstanceManager.addReactInstanceEventListener(
|
|
199
198
|
new ReactInstanceEventListener() {
|
|
200
199
|
@Override
|
|
201
200
|
public void onReactContextInitialized(@NonNull ReactContext reactContext) {
|
|
202
201
|
invokeStartTask(reactContext, taskConfig);
|
|
203
|
-
|
|
202
|
+
reactInstanceManager.removeReactInstanceEventListener(this);
|
|
204
203
|
}
|
|
205
204
|
});
|
|
206
|
-
|
|
205
|
+
reactInstanceManager.createReactContextInBackground();
|
|
207
206
|
}
|
|
208
207
|
}
|
|
209
208
|
}
|
|
@@ -449,12 +449,18 @@ public class FabricUIManager
|
|
|
449
449
|
|
|
450
450
|
@Override
|
|
451
451
|
public void markActiveTouchForTag(int surfaceId, int reactTag) {
|
|
452
|
-
mMountingManager.getSurfaceManager(surfaceId)
|
|
452
|
+
SurfaceMountingManager surfaceMountingManager = mMountingManager.getSurfaceManager(surfaceId);
|
|
453
|
+
if (surfaceMountingManager != null) {
|
|
454
|
+
surfaceMountingManager.markActiveTouchForTag(reactTag);
|
|
455
|
+
}
|
|
453
456
|
}
|
|
454
457
|
|
|
455
458
|
@Override
|
|
456
459
|
public void sweepActiveTouchForTag(int surfaceId, int reactTag) {
|
|
457
|
-
mMountingManager.getSurfaceManager(surfaceId)
|
|
460
|
+
SurfaceMountingManager surfaceMountingManager = mMountingManager.getSurfaceManager(surfaceId);
|
|
461
|
+
if (surfaceMountingManager != null) {
|
|
462
|
+
surfaceMountingManager.sweepActiveTouchForTag(reactTag);
|
|
463
|
+
}
|
|
458
464
|
}
|
|
459
465
|
|
|
460
466
|
/**
|
|
@@ -330,14 +330,11 @@ public class MountingManager {
|
|
|
330
330
|
@AnyThread
|
|
331
331
|
@ThreadConfined(ANY)
|
|
332
332
|
public @Nullable EventEmitterWrapper getEventEmitter(int surfaceId, int reactTag) {
|
|
333
|
-
SurfaceMountingManager
|
|
334
|
-
|
|
335
|
-
? getSurfaceManagerForView(reactTag)
|
|
336
|
-
: getSurfaceManager(surfaceId));
|
|
337
|
-
if (surfaceMountingManager == null) {
|
|
333
|
+
SurfaceMountingManager smm = getSurfaceMountingManager(surfaceId, reactTag);
|
|
334
|
+
if (smm == null) {
|
|
338
335
|
return null;
|
|
339
336
|
}
|
|
340
|
-
return
|
|
337
|
+
return smm.getEventEmitter(reactTag);
|
|
341
338
|
}
|
|
342
339
|
|
|
343
340
|
/**
|
|
@@ -434,11 +431,21 @@ public class MountingManager {
|
|
|
434
431
|
boolean canCoalesceEvent,
|
|
435
432
|
@Nullable WritableMap params,
|
|
436
433
|
@EventCategoryDef int eventCategory) {
|
|
437
|
-
|
|
434
|
+
SurfaceMountingManager smm = getSurfaceMountingManager(surfaceId, reactTag);
|
|
438
435
|
if (smm == null) {
|
|
439
|
-
|
|
436
|
+
FLog.d(
|
|
437
|
+
TAG,
|
|
438
|
+
"Cannot queue event without valid surface mounting manager for tag: %d, surfaceId: %d",
|
|
439
|
+
reactTag,
|
|
440
|
+
surfaceId);
|
|
440
441
|
return;
|
|
441
442
|
}
|
|
442
443
|
smm.enqueuePendingEvent(reactTag, eventName, canCoalesceEvent, params, eventCategory);
|
|
443
444
|
}
|
|
445
|
+
|
|
446
|
+
private @Nullable SurfaceMountingManager getSurfaceMountingManager(int surfaceId, int reactTag) {
|
|
447
|
+
return (surfaceId == ViewUtil.NO_SURFACE_ID
|
|
448
|
+
? getSurfaceManagerForView(reactTag)
|
|
449
|
+
: getSurfaceManager(surfaceId));
|
|
450
|
+
}
|
|
444
451
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<89491eb63a7ca59b17419ed4432a4f88>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -34,12 +34,6 @@ public object ReactNativeFeatureFlags {
|
|
|
34
34
|
@JvmStatic
|
|
35
35
|
public fun commonTestFlag(): Boolean = accessor.commonTestFlag()
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* Adds support for recursively processing commits that mount synchronously (Android only).
|
|
39
|
-
*/
|
|
40
|
-
@JvmStatic
|
|
41
|
-
public fun allowRecursiveCommitsWithSynchronousMountOnAndroid(): Boolean = accessor.allowRecursiveCommitsWithSynchronousMountOnAndroid()
|
|
42
|
-
|
|
43
37
|
/**
|
|
44
38
|
* When enabled, the RuntimeScheduler processing the event loop will batch all rendering updates and dispatch them together at the end of each iteration of the loop.
|
|
45
39
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<9f741ec3df7cd5ecd8d5c3c099c86aba>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -21,7 +21,6 @@ package com.facebook.react.internal.featureflags
|
|
|
21
21
|
|
|
22
22
|
public class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAccessor {
|
|
23
23
|
private var commonTestFlagCache: Boolean? = null
|
|
24
|
-
private var allowRecursiveCommitsWithSynchronousMountOnAndroidCache: Boolean? = null
|
|
25
24
|
private var batchRenderingUpdatesInEventLoopCache: Boolean? = null
|
|
26
25
|
private var completeReactInstanceCreationOnBgThreadOnAndroidCache: Boolean? = null
|
|
27
26
|
private var destroyFabricSurfacesInReactInstanceManagerCache: Boolean? = null
|
|
@@ -78,15 +77,6 @@ public class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAccesso
|
|
|
78
77
|
return cached
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
override fun allowRecursiveCommitsWithSynchronousMountOnAndroid(): Boolean {
|
|
82
|
-
var cached = allowRecursiveCommitsWithSynchronousMountOnAndroidCache
|
|
83
|
-
if (cached == null) {
|
|
84
|
-
cached = ReactNativeFeatureFlagsCxxInterop.allowRecursiveCommitsWithSynchronousMountOnAndroid()
|
|
85
|
-
allowRecursiveCommitsWithSynchronousMountOnAndroidCache = cached
|
|
86
|
-
}
|
|
87
|
-
return cached
|
|
88
|
-
}
|
|
89
|
-
|
|
90
80
|
override fun batchRenderingUpdatesInEventLoop(): Boolean {
|
|
91
81
|
var cached = batchRenderingUpdatesInEventLoopCache
|
|
92
82
|
if (cached == null) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<774337b6aee6f528b0852704271ed96f>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -30,8 +30,6 @@ public object ReactNativeFeatureFlagsCxxInterop {
|
|
|
30
30
|
|
|
31
31
|
@DoNotStrip @JvmStatic public external fun commonTestFlag(): Boolean
|
|
32
32
|
|
|
33
|
-
@DoNotStrip @JvmStatic public external fun allowRecursiveCommitsWithSynchronousMountOnAndroid(): Boolean
|
|
34
|
-
|
|
35
33
|
@DoNotStrip @JvmStatic public external fun batchRenderingUpdatesInEventLoop(): Boolean
|
|
36
34
|
|
|
37
35
|
@DoNotStrip @JvmStatic public external fun completeReactInstanceCreationOnBgThreadOnAndroid(): Boolean
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<43c4ba7a6c4f5a12ada181c081f91bfc>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -25,8 +25,6 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi
|
|
|
25
25
|
|
|
26
26
|
override fun commonTestFlag(): Boolean = false
|
|
27
27
|
|
|
28
|
-
override fun allowRecursiveCommitsWithSynchronousMountOnAndroid(): Boolean = false
|
|
29
|
-
|
|
30
28
|
override fun batchRenderingUpdatesInEventLoop(): Boolean = false
|
|
31
29
|
|
|
32
30
|
override fun completeReactInstanceCreationOnBgThreadOnAndroid(): Boolean = false
|