react-native 0.82.0-nightly-20250731-15373218e → 0.82.0-nightly-20250806-5936f29d6
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/Animated/nodes/AnimatedObject.js +1 -1
- package/Libraries/AppDelegate/RCTAppSetupUtils.mm +7 -10
- package/Libraries/AppDelegate/RCTDefaultReactNativeFactoryDelegate.mm +5 -6
- package/Libraries/AppDelegate/RCTReactNativeFactory.mm +10 -32
- package/Libraries/AppDelegate/RCTRootViewFactory.mm +26 -48
- package/Libraries/AppState/AppState.js +3 -3
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +1 -1
- package/Libraries/Components/Pressable/Pressable.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +2 -2
- package/Libraries/Components/Switch/Switch.js +1 -1
- package/Libraries/Components/TextInput/TextInput.js +2 -2
- package/Libraries/Components/Touchable/TouchableBounce.js +1 -1
- package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -1
- package/Libraries/Components/Touchable/TouchableOpacity.js +1 -1
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +2 -2
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/RCTImageShadowView.h +4 -0
- package/Libraries/Image/RCTImageShadowView.mm +4 -0
- package/Libraries/Image/RCTImageView.h +4 -0
- package/Libraries/Image/RCTImageView.mm +4 -0
- package/Libraries/Image/RCTImageViewManager.h +4 -0
- package/Libraries/Image/RCTImageViewManager.mm +4 -0
- package/Libraries/Interaction/InteractionManager.js +1 -1
- package/Libraries/Modal/Modal.js +1 -1
- package/Libraries/NativeComponent/ViewConfig.js +1 -1
- package/Libraries/ReactNative/AppRegistryImpl.js +4 -2
- package/Libraries/Text/BaseText/RCTBaseTextShadowView.h +4 -0
- package/Libraries/Text/BaseText/RCTBaseTextShadowView.mm +4 -0
- package/Libraries/Text/BaseText/RCTBaseTextViewManager.h +4 -0
- package/Libraries/Text/BaseText/RCTBaseTextViewManager.mm +4 -0
- package/Libraries/Text/RCTTextAttributes.h +4 -0
- package/Libraries/Text/RCTTextAttributes.mm +4 -0
- package/Libraries/Text/RawText/RCTRawTextShadowView.h +4 -0
- package/Libraries/Text/RawText/RCTRawTextShadowView.mm +4 -0
- package/Libraries/Text/RawText/RCTRawTextViewManager.h +4 -0
- package/Libraries/Text/RawText/RCTRawTextViewManager.mm +4 -0
- package/Libraries/Text/Text/RCTTextShadowView.h +4 -0
- package/Libraries/Text/Text/RCTTextShadowView.mm +4 -0
- package/Libraries/Text/Text/RCTTextView.h +4 -0
- package/Libraries/Text/Text/RCTTextView.mm +4 -0
- package/Libraries/Text/Text/RCTTextViewManager.h +4 -0
- package/Libraries/Text/Text/RCTTextViewManager.mm +4 -0
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +4 -0
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm +4 -0
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.h +4 -0
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.mm +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.h +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.mm +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputView.h +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.h +4 -0
- package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.h +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.mm +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryView.h +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryView.mm +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.mm +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.h +4 -0
- package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.mm +4 -0
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.h +4 -0
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.mm +4 -0
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h +4 -0
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.mm +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.mm +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextView.h +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextView.mm +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h +4 -0
- package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.mm +4 -0
- package/Libraries/Utilities/useMergeRefs.js +1 -1
- package/Libraries/Wrapper/Example/RCTWrapperExampleView.h +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperExampleView.m +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h +4 -0
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m +4 -0
- package/Libraries/Wrapper/RCTWrapper.h +4 -0
- package/Libraries/Wrapper/RCTWrapperShadowView.h +4 -0
- package/Libraries/Wrapper/RCTWrapperShadowView.m +4 -0
- package/Libraries/Wrapper/RCTWrapperView.h +4 -0
- package/Libraries/Wrapper/RCTWrapperView.m +4 -0
- package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.h +4 -0
- package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.m +4 -0
- package/Libraries/Wrapper/RCTWrapperViewManager.h +4 -0
- package/Libraries/Wrapper/RCTWrapperViewManager.m +4 -0
- package/React/Base/RCTBridge.mm +3 -4
- package/React/Base/RCTUtils.mm +1 -2
- package/React/Base/RCTVersion.m +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI-generated.cpp +29 -8
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +36 -9
- package/React/Views/RCTActivityIndicatorView.h +4 -0
- package/React/Views/RCTActivityIndicatorView.m +4 -0
- package/React/Views/RCTActivityIndicatorViewManager.h +4 -0
- package/React/Views/RCTActivityIndicatorViewManager.m +4 -0
- package/React/Views/RCTDebuggingOverlayManager.h +4 -0
- package/React/Views/RCTDebuggingOverlayManager.m +4 -0
- package/React/Views/RCTModalHostView.h +4 -0
- package/React/Views/RCTModalHostView.m +4 -0
- package/React/Views/RCTModalHostViewController.h +4 -0
- package/React/Views/RCTModalHostViewController.m +4 -0
- package/React/Views/RCTModalHostViewManager.h +4 -0
- package/React/Views/RCTModalHostViewManager.m +4 -0
- package/React/Views/RCTModalManager.h +4 -0
- package/React/Views/RCTModalManager.m +4 -0
- package/React/Views/RCTRootShadowView.m +12 -0
- package/React/Views/RCTShadowView.m +92 -0
- package/React/Views/RCTSwitch.h +4 -0
- package/React/Views/RCTSwitch.m +4 -0
- package/React/Views/RCTSwitchManager.h +4 -0
- package/React/Views/RCTSwitchManager.m +4 -0
- package/React/Views/RefreshControl/RCTRefreshControl.h +4 -0
- package/React/Views/RefreshControl/RCTRefreshControl.m +4 -0
- package/React/Views/RefreshControl/RCTRefreshControlManager.h +4 -0
- package/React/Views/RefreshControl/RCTRefreshControlManager.m +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaShadowView.h +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaShadowView.m +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaView.h +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaView.m +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.h +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.m +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaViewManager.h +4 -0
- package/React/Views/SafeAreaView/RCTSafeAreaViewManager.m +4 -0
- package/React/Views/ScrollView/RCTScrollContentShadowView.h +4 -0
- package/React/Views/ScrollView/RCTScrollContentShadowView.m +4 -0
- package/React/Views/ScrollView/RCTScrollContentView.h +4 -0
- package/React/Views/ScrollView/RCTScrollContentView.m +4 -0
- package/React/Views/ScrollView/RCTScrollContentViewManager.h +4 -0
- package/React/Views/ScrollView/RCTScrollContentViewManager.m +4 -0
- package/React/Views/ScrollView/RCTScrollView.h +4 -0
- package/React/Views/ScrollView/RCTScrollView.m +4 -0
- package/React/Views/ScrollView/RCTScrollViewManager.h +4 -0
- package/React/Views/ScrollView/RCTScrollViewManager.m +4 -0
- package/ReactAndroid/api/ReactAndroid.api +0 -11
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/MemoryPressureRouter.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManagerBuilder.kt +2 -0
- package/ReactAndroid/src/main/java/com/facebook/react/ReactPackageLogger.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +7 -2
- package/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNode.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/animated/InterpolationAnimatedNode.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.kt +21 -24
- package/ReactAndroid/src/main/java/com/facebook/react/animated/ValueAnimatedNode.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstance.kt +6 -2
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstanceImpl.java +4 -0
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/Dynamic.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/NotThreadSafeBridgeIdleDebugListener.kt +6 -0
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactCxxErrorHandler.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactMarker.kt +4 -9
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactSoftExceptionLogger.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/SoftAssertions.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/UIManagerListener.kt +5 -5
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/WindowFocusChangeListener.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultComponentsRegistry.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt +5 -3
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/PackagerStatusCheck.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxContentView.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/BundleLoadCallback.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModuleManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BlobModule.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/clipboard/ClipboardModule.kt +1 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/DialogTitle.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nUtil.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +8 -9
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/ForwardingCookieHandler.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/InspectorNetworkReporter.kt +36 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkEventUtil.kt +4 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +9 -9
- package/ReactAndroid/src/main/java/com/facebook/react/modules/permissions/PermissionsModule.kt +6 -12
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/WebSocketModule.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/packagerconnection/ReconnectingWebSocket.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceImpl.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceView.kt +2 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/TaskCompletionSource.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/soloader/OpenSourceMergedSoMapping.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BackgroundStyleApplicator.kt +8 -8
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSPointerDispatcher.java +15 -49
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.kt +18 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java +17 -6
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactClippingViewGroupHelper.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerPropertyUpdater.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/FabricEventDispatcher.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/SynchronousEventReceiver.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/util/ReactFindViewUtil.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/views/image/ScaleTypeStartInside.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/safeareaview/ReactSafeAreaViewManager.kt +2 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +2 -12
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.kt +4 -5
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +1 -10
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.kt +17 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +4 -5
- package/ReactAndroid/src/main/java/com/facebook/react/views/switchview/ReactSwitch.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextView.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageShadowNode.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactContentSizeChangedEvent.kt +1 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/ReactUnimplementedView.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +1 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
- package/ReactAndroid/src/main/jni/react/jni/InspectorNetworkReporter.cpp +28 -9
- package/ReactAndroid/src/main/jni/react/jni/InspectorNetworkReporter.h +10 -3
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeSamplingProfileSerializer.cpp +8 -2
- package/ReactCommon/jsinspector-modern/InstanceAgent.cpp +0 -1
- package/ReactCommon/jsinspector-modern/NetworkIOAgent.cpp +10 -1
- package/ReactCommon/jsinspector-modern/RuntimeAgent.cpp +0 -4
- package/ReactCommon/jsinspector-modern/RuntimeAgent.h +0 -6
- package/ReactCommon/jsinspector-modern/RuntimeTarget.cpp +0 -10
- package/ReactCommon/jsinspector-modern/RuntimeTarget.h +0 -12
- package/ReactCommon/jsinspector-modern/TracingAgent.cpp +34 -10
- package/ReactCommon/jsinspector-modern/network/HttpUtils.cpp +9 -1
- package/ReactCommon/jsinspector-modern/network/NetworkReporter.cpp +4 -4
- package/ReactCommon/jsinspector-modern/tests/ConsoleTimeStampTest.cpp +22 -25
- package/ReactCommon/jsinspector-modern/tests/HostTargetTest.cpp +22 -0
- package/ReactCommon/jsinspector-modern/tracing/PerformanceTracer.cpp +179 -168
- package/ReactCommon/jsinspector-modern/tracing/PerformanceTracer.h +50 -44
- package/ReactCommon/jsinspector-modern/tracing/RuntimeSamplingProfile.h +8 -2
- package/ReactCommon/jsinspector-modern/tracing/RuntimeSamplingProfileTraceEventSerializer.cpp +137 -57
- package/ReactCommon/jsinspector-modern/tracing/RuntimeSamplingProfileTraceEventSerializer.h +26 -126
- package/ReactCommon/jsinspector-modern/tracing/TraceEvent.h +17 -4
- package/ReactCommon/jsinspector-modern/tracing/tests/RuntimeSamplingProfileTraceEventSerializerTest.cpp +53 -37
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +32 -14
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
- package/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp +1 -7
- package/ReactCommon/react/nativemodule/webperformance/NativePerformance.h +0 -4
- package/ReactCommon/react/performance/timeline/PerformanceEntryReporter.cpp +0 -4
- package/ReactCommon/react/performance/timeline/PerformanceEntryReporter.h +4 -9
- package/ReactCommon/react/renderer/attributedstring/conversions.h +0 -1
- package/ReactCommon/react/renderer/components/image/ImageProps.cpp +26 -0
- package/ReactCommon/react/renderer/components/image/ImageProps.h +4 -0
- package/ReactCommon/react/renderer/components/view/ViewShadowNode.cpp +1 -0
- package/ReactCommon/react/renderer/components/view/ViewShadowNode.h +1 -0
- package/ReactCommon/react/renderer/graphics/ValueUnit.h +1 -1
- package/ReactCommon/react/renderer/imagemanager/primitives.h +62 -0
- package/ReactCommon/react/renderer/observers/events/EventPerformanceLogger.cpp +5 -6
- package/ReactCommon/react/renderer/runtimescheduler/SchedulerPriorityUtils.h +6 -4
- package/ReactCommon/react/timing/CMakeLists.txt +2 -0
- package/ReactCommon/react/timing/React-timing.podspec +2 -0
- package/ReactCommon/react/timing/primitives.h +32 -4
- package/gradle/libs.versions.toml +1 -1
- package/jest/mockComponent.js +1 -1
- package/package.json +8 -8
- package/scripts/cocoapods/codegen.rb +1 -1
- package/scripts/cocoapods/new_architecture.rb +1 -1
- package/scripts/codegen/generate-artifacts-executor/constants.js +29 -29
- package/scripts/codegen/generate-artifacts-executor/generateNativeCode.js +1 -1
- package/scripts/codegen/generate-artifacts-executor/generateRCTModuleProviders.js +1 -1
- package/scripts/codegen/generate-artifacts-executor/generateRCTThirdPartyComponents.js +2 -2
- package/scripts/codegen/generate-artifacts-executor/utils.js +2 -2
- package/scripts/codegen/generate-specs-cli-executor.js +14 -14
- package/scripts/generate-provider-cli.js +5 -5
- package/scripts/react_native_pods.rb +7 -7
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +12 -1
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +19 -0
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
- package/src/private/webapis/dom/nodes/ReadOnlyElement.js +1 -1
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +2 -2
- package/src/private/webapis/dom/oldstylecollections/NodeList.js +2 -2
- package/src/private/webapis/geometry/DOMRectList.js +2 -2
- package/src/private/webapis/performance/specs/NativePerformance.js +0 -1
- package/src/private/webapis/structuredClone/structuredClone.js +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactNoCrashBridgeNotAllowedSoftException.kt +0 -29
- package/ReactAndroid/src/main/java/com/facebook/react/views/safeareaview/ReactSafeAreaViewShadowNode.kt +0 -15
|
@@ -21,7 +21,7 @@ const MAX_DEPTH = 5;
|
|
|
21
21
|
|
|
22
22
|
export function isPlainObject(
|
|
23
23
|
value: mixed,
|
|
24
|
-
/* $
|
|
24
|
+
/* $FlowFixMe[incompatible-type-guard] - Flow does not know that the prototype
|
|
25
25
|
and ReactElement checks preserve the type refinement of `value`. */
|
|
26
26
|
): value is $ReadOnly<{[string]: mixed}> {
|
|
27
27
|
return (
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
void RCTAppSetupPrepareApp(UIApplication *application, BOOL turboModuleEnabled)
|
|
33
33
|
{
|
|
34
|
-
RCTEnableTurboModule(
|
|
34
|
+
RCTEnableTurboModule(YES);
|
|
35
35
|
|
|
36
36
|
#if DEBUG
|
|
37
37
|
// Disable idle timer in dev builds to avoid putting application in background and complicating
|
|
@@ -43,15 +43,12 @@ void RCTAppSetupPrepareApp(UIApplication *application, BOOL turboModuleEnabled)
|
|
|
43
43
|
UIView *
|
|
44
44
|
RCTAppSetupDefaultRootView(RCTBridge *bridge, NSString *moduleName, NSDictionary *initialProperties, BOOL fabricEnabled)
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return rootView;
|
|
53
|
-
}
|
|
54
|
-
return [[RCTRootView alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
|
|
46
|
+
id<RCTSurfaceProtocol> surface = [[RCTFabricSurface alloc] initWithBridge:bridge
|
|
47
|
+
moduleName:moduleName
|
|
48
|
+
initialProperties:initialProperties];
|
|
49
|
+
UIView *rootView = [[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
|
|
50
|
+
[surface start];
|
|
51
|
+
return rootView;
|
|
55
52
|
}
|
|
56
53
|
|
|
57
54
|
NSArray<NSString *> *RCTAppSetupUnstableModulesRequiringMainQueueSetup(id<RCTDependencyProvider> dependencyProvider)
|
|
@@ -57,8 +57,7 @@
|
|
|
57
57
|
moduleName:(NSString *)moduleName
|
|
58
58
|
initProps:(NSDictionary *)initProps
|
|
59
59
|
{
|
|
60
|
-
|
|
61
|
-
UIView *rootView = RCTAppSetupDefaultRootView(bridge, moduleName, initProps, enableFabric);
|
|
60
|
+
UIView *rootView = RCTAppSetupDefaultRootView(bridge, moduleName, initProps, YES);
|
|
62
61
|
|
|
63
62
|
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
64
63
|
|
|
@@ -107,22 +106,22 @@
|
|
|
107
106
|
|
|
108
107
|
- (BOOL)newArchEnabled
|
|
109
108
|
{
|
|
110
|
-
return
|
|
109
|
+
return YES;
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
- (BOOL)bridgelessEnabled
|
|
114
113
|
{
|
|
115
|
-
return
|
|
114
|
+
return YES;
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
- (BOOL)fabricEnabled
|
|
119
118
|
{
|
|
120
|
-
return
|
|
119
|
+
return YES;
|
|
121
120
|
}
|
|
122
121
|
|
|
123
122
|
- (BOOL)turboModuleEnabled
|
|
124
123
|
{
|
|
125
|
-
return
|
|
124
|
+
return YES;
|
|
126
125
|
}
|
|
127
126
|
|
|
128
127
|
- (Class)getModuleClassFromName:(const char *)name
|
|
@@ -52,17 +52,12 @@ using namespace facebook::react;
|
|
|
52
52
|
self.delegate = delegate;
|
|
53
53
|
[self _setUpFeatureFlags:releaseLevel];
|
|
54
54
|
|
|
55
|
-
auto newArchEnabled = [self newArchEnabled];
|
|
56
|
-
auto fabricEnabled = [self fabricEnabled];
|
|
57
|
-
|
|
58
55
|
[RCTColorSpaceUtils applyDefaultColorSpace:[self defaultColorSpace]];
|
|
59
|
-
RCTEnableTurboModule(
|
|
56
|
+
RCTEnableTurboModule(YES);
|
|
60
57
|
|
|
61
58
|
self.rootViewFactory = [self createRCTRootViewFactory];
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
[RCTComponentViewFactory currentComponentViewFactory].thirdPartyFabricComponentsProvider = self;
|
|
65
|
-
}
|
|
60
|
+
[RCTComponentViewFactory currentComponentViewFactory].thirdPartyFabricComponentsProvider = self;
|
|
66
61
|
}
|
|
67
62
|
|
|
68
63
|
return self;
|
|
@@ -126,37 +121,22 @@ using namespace facebook::react;
|
|
|
126
121
|
|
|
127
122
|
- (BOOL)newArchEnabled
|
|
128
123
|
{
|
|
129
|
-
|
|
130
|
-
return _delegate.newArchEnabled;
|
|
131
|
-
}
|
|
132
|
-
return RCTIsNewArchEnabled();
|
|
124
|
+
return YES;
|
|
133
125
|
}
|
|
134
126
|
|
|
135
127
|
- (BOOL)fabricEnabled
|
|
136
128
|
{
|
|
137
|
-
|
|
138
|
-
return _delegate.fabricEnabled;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
return [self newArchEnabled];
|
|
129
|
+
return YES;
|
|
142
130
|
}
|
|
143
131
|
|
|
144
132
|
- (BOOL)turboModuleEnabled
|
|
145
133
|
{
|
|
146
|
-
|
|
147
|
-
return _delegate.turboModuleEnabled;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return [self newArchEnabled];
|
|
134
|
+
return YES;
|
|
151
135
|
}
|
|
152
136
|
|
|
153
137
|
- (BOOL)bridgelessEnabled
|
|
154
138
|
{
|
|
155
|
-
|
|
156
|
-
return _delegate.bridgelessEnabled;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
return [self newArchEnabled];
|
|
139
|
+
return YES;
|
|
160
140
|
}
|
|
161
141
|
|
|
162
142
|
#pragma mark - RCTTurboModuleManagerDelegate
|
|
@@ -250,9 +230,9 @@ using namespace facebook::react;
|
|
|
250
230
|
|
|
251
231
|
RCTRootViewFactoryConfiguration *configuration =
|
|
252
232
|
[[RCTRootViewFactoryConfiguration alloc] initWithBundleURLBlock:bundleUrlBlock
|
|
253
|
-
newArchEnabled:
|
|
254
|
-
turboModuleEnabled:
|
|
255
|
-
bridgelessEnabled:
|
|
233
|
+
newArchEnabled:YES
|
|
234
|
+
turboModuleEnabled:YES
|
|
235
|
+
bridgelessEnabled:YES];
|
|
256
236
|
|
|
257
237
|
configuration.createRootViewWithBridge = ^UIView *(RCTBridge *bridge, NSString *moduleName, NSDictionary *initProps) {
|
|
258
238
|
return [weakSelf.delegate createRootViewWithBridge:bridge moduleName:moduleName initProps:initProps];
|
|
@@ -334,9 +314,7 @@ using namespace facebook::react;
|
|
|
334
314
|
dispatch_once(&setupFeatureFlagsToken, ^{
|
|
335
315
|
switch (releaseLevel) {
|
|
336
316
|
case Stable:
|
|
337
|
-
|
|
338
|
-
ReactNativeFeatureFlags::override(std::make_unique<ReactNativeFeatureFlagsOverridesOSSStable>());
|
|
339
|
-
}
|
|
317
|
+
ReactNativeFeatureFlags::override(std::make_unique<ReactNativeFeatureFlagsOverridesOSSStable>());
|
|
340
318
|
break;
|
|
341
319
|
case Canary:
|
|
342
320
|
ReactNativeFeatureFlags::override(std::make_unique<ReactNativeFeatureFlagsOverridesOSSCanary>());
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
{
|
|
74
74
|
if (self = [super init]) {
|
|
75
75
|
_bundleURLBlock = bundleURLBlock;
|
|
76
|
-
_fabricEnabled =
|
|
77
|
-
_turboModuleEnabled =
|
|
78
|
-
_bridgelessEnabled =
|
|
76
|
+
_fabricEnabled = YES;
|
|
77
|
+
_turboModuleEnabled = YES;
|
|
78
|
+
_bridgelessEnabled = YES;
|
|
79
79
|
}
|
|
80
80
|
return self;
|
|
81
81
|
}
|
|
@@ -135,17 +135,12 @@
|
|
|
135
135
|
|
|
136
136
|
- (void)initializeReactHostWithLaunchOptions:(NSDictionary *)launchOptions
|
|
137
137
|
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
RCTEnableTurboModuleInteropBridgeProxy(YES);
|
|
138
|
+
// Enable TurboModule interop by default in Bridgeless mode
|
|
139
|
+
RCTEnableTurboModuleInterop(YES);
|
|
140
|
+
RCTEnableTurboModuleInteropBridgeProxy(YES);
|
|
142
141
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
[self createBridgeIfNeeded:launchOptions];
|
|
148
|
-
[self createBridgeAdapterIfNeeded];
|
|
142
|
+
[self createReactHostIfNeeded:launchOptions];
|
|
143
|
+
return;
|
|
149
144
|
}
|
|
150
145
|
|
|
151
146
|
- (UIView *)viewWithModuleName:(NSString *)moduleName
|
|
@@ -154,29 +149,17 @@
|
|
|
154
149
|
{
|
|
155
150
|
[self initializeReactHostWithLaunchOptions:launchOptions];
|
|
156
151
|
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
RCTFabricSurface *surface = [self.reactHost createSurfaceWithModuleName:moduleName
|
|
153
|
+
initialProperties:initProps ? initProps : @{}];
|
|
159
154
|
|
|
160
|
-
|
|
161
|
-
|
|
155
|
+
RCTSurfaceHostingProxyRootView *surfaceHostingProxyRootView =
|
|
156
|
+
[[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
|
|
162
157
|
|
|
163
|
-
|
|
164
|
-
if (_configuration.customizeRootView != nil) {
|
|
165
|
-
_configuration.customizeRootView(surfaceHostingProxyRootView);
|
|
166
|
-
}
|
|
167
|
-
return surfaceHostingProxyRootView;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
UIView *rootView;
|
|
171
|
-
if (_configuration.createRootViewWithBridge != nil) {
|
|
172
|
-
rootView = _configuration.createRootViewWithBridge(self.bridge, moduleName, initProps);
|
|
173
|
-
} else {
|
|
174
|
-
rootView = [self createRootViewWithBridge:self.bridge moduleName:moduleName initProps:initProps];
|
|
175
|
-
}
|
|
158
|
+
surfaceHostingProxyRootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
176
159
|
if (_configuration.customizeRootView != nil) {
|
|
177
|
-
_configuration.customizeRootView(
|
|
160
|
+
_configuration.customizeRootView(surfaceHostingProxyRootView);
|
|
178
161
|
}
|
|
179
|
-
return
|
|
162
|
+
return surfaceHostingProxyRootView;
|
|
180
163
|
}
|
|
181
164
|
|
|
182
165
|
- (RCTBridge *)createBridgeWithDelegate:(id<RCTBridgeDelegate>)delegate launchOptions:(NSDictionary *)launchOptions
|
|
@@ -188,8 +171,7 @@
|
|
|
188
171
|
moduleName:(NSString *)moduleName
|
|
189
172
|
initProps:(NSDictionary *)initProps
|
|
190
173
|
{
|
|
191
|
-
|
|
192
|
-
UIView *rootView = RCTAppSetupDefaultRootView(bridge, moduleName, initProps, enableFabric);
|
|
174
|
+
UIView *rootView = RCTAppSetupDefaultRootView(bridge, moduleName, initProps, YES);
|
|
193
175
|
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
194
176
|
return rootView;
|
|
195
177
|
}
|
|
@@ -198,19 +180,15 @@
|
|
|
198
180
|
- (std::unique_ptr<facebook::react::JSExecutorFactory>)jsExecutorFactoryForBridge:(RCTBridge *)bridge
|
|
199
181
|
{
|
|
200
182
|
_runtimeScheduler = std::make_shared<facebook::react::RuntimeScheduler>(RCTRuntimeExecutorFromBridge(bridge));
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
return RCTAppSetupDefaultJsExecutorFactory(bridge, turboModuleManager, _runtimeScheduler);
|
|
211
|
-
} else {
|
|
212
|
-
return RCTAppSetupJsExecutorFactoryForOldArch(bridge, _runtimeScheduler);
|
|
213
|
-
}
|
|
183
|
+
|
|
184
|
+
std::shared_ptr<facebook::react::CallInvoker> callInvoker =
|
|
185
|
+
std::make_shared<facebook::react::RuntimeSchedulerCallInvoker>(_runtimeScheduler);
|
|
186
|
+
RCTTurboModuleManager *turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
|
|
187
|
+
delegate:_turboModuleManagerDelegate
|
|
188
|
+
jsInvoker:callInvoker];
|
|
189
|
+
_contextContainer->erase("RuntimeScheduler");
|
|
190
|
+
_contextContainer->insert("RuntimeScheduler", _runtimeScheduler);
|
|
191
|
+
return RCTAppSetupDefaultJsExecutorFactory(bridge, turboModuleManager, _runtimeScheduler);
|
|
214
192
|
}
|
|
215
193
|
|
|
216
194
|
- (void)createBridgeIfNeeded:(NSDictionary *)launchOptions
|
|
@@ -228,7 +206,7 @@
|
|
|
228
206
|
|
|
229
207
|
- (void)createBridgeAdapterIfNeeded
|
|
230
208
|
{
|
|
231
|
-
if (
|
|
209
|
+
if (self.bridgeAdapter != nullptr) {
|
|
232
210
|
return;
|
|
233
211
|
}
|
|
234
212
|
|
|
@@ -120,18 +120,18 @@ class AppStateImpl {
|
|
|
120
120
|
}
|
|
121
121
|
switch (type) {
|
|
122
122
|
case 'change':
|
|
123
|
-
// $
|
|
123
|
+
// $FlowFixMe[invalid-tuple-arity] Flow cannot refine handler based on the event type
|
|
124
124
|
const changeHandler: AppStateStatus => void = handler;
|
|
125
125
|
return emitter.addListener('appStateDidChange', appStateData => {
|
|
126
126
|
changeHandler(appStateData.app_state);
|
|
127
127
|
});
|
|
128
128
|
case 'memoryWarning':
|
|
129
|
-
// $
|
|
129
|
+
// $FlowFixMe[invalid-tuple-arity] Flow cannot refine handler based on the event type
|
|
130
130
|
const memoryWarningHandler: () => void = handler;
|
|
131
131
|
return emitter.addListener('memoryWarning', memoryWarningHandler);
|
|
132
132
|
case 'blur':
|
|
133
133
|
case 'focus':
|
|
134
|
-
// $
|
|
134
|
+
// $FlowFixMe[invalid-tuple-arity] Flow cannot refine handler based on the event type
|
|
135
135
|
const focusOrBlurHandler: () => void = handler;
|
|
136
136
|
return emitter.addListener('appStateFocusChange', hasFocus => {
|
|
137
137
|
if (type === 'blur' && !hasFocus) {
|
|
@@ -396,7 +396,7 @@ const AccessibilityInfo = {
|
|
|
396
396
|
*/
|
|
397
397
|
addEventListener<K: $Keys<AccessibilityEventDefinitions>>(
|
|
398
398
|
eventName: K,
|
|
399
|
-
// $
|
|
399
|
+
// $FlowFixMe[incompatible-type] - Flow bug with unions and generics (T128099423)
|
|
400
400
|
handler: (...AccessibilityEventDefinitions[K]) => void,
|
|
401
401
|
): EventSubscription {
|
|
402
402
|
const deviceEventName = EventNames.get(eventName);
|
|
@@ -243,7 +243,7 @@ function Pressable({
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
const accessibilityLiveRegion =
|
|
246
|
-
ariaLive === 'off' ? 'none' : ariaLive ?? props.accessibilityLiveRegion;
|
|
246
|
+
ariaLive === 'off' ? 'none' : (ariaLive ?? props.accessibilityLiveRegion);
|
|
247
247
|
|
|
248
248
|
const accessibilityLabel = ariaLabel ?? props.accessibilityLabel;
|
|
249
249
|
const restPropsWithDefaults: React.ElementConfig<typeof View> = {
|
|
@@ -235,8 +235,8 @@ class StatusBar extends React.Component<StatusBarProps> {
|
|
|
235
235
|
static _defaultProps: any = createStackEntry({
|
|
236
236
|
backgroundColor:
|
|
237
237
|
Platform.OS === 'android'
|
|
238
|
-
? NativeStatusBarManagerAndroid.getConstants()
|
|
239
|
-
.DEFAULT_BACKGROUND_COLOR ?? 'black'
|
|
238
|
+
? (NativeStatusBarManagerAndroid.getConstants()
|
|
239
|
+
.DEFAULT_BACKGROUND_COLOR ?? 'black')
|
|
240
240
|
: 'black',
|
|
241
241
|
barStyle: 'default',
|
|
242
242
|
translucent: false,
|
|
@@ -215,7 +215,7 @@ const Switch: component(
|
|
|
215
215
|
native.value != null && native.value !== jsValue;
|
|
216
216
|
if (
|
|
217
217
|
shouldUpdateNativeSwitch &&
|
|
218
|
-
// $
|
|
218
|
+
// $FlowFixMe[method-unbinding]
|
|
219
219
|
nativeSwitchRef.current?.setNativeProps != null
|
|
220
220
|
) {
|
|
221
221
|
if (Platform.OS === 'android') {
|
|
@@ -915,8 +915,8 @@ const TextInput: component(
|
|
|
915
915
|
Platform.OS === 'android'
|
|
916
916
|
? // $FlowFixMe[invalid-computed-prop]
|
|
917
917
|
// $FlowFixMe[prop-missing]
|
|
918
|
-
autoCompleteWebToAutoCompleteAndroidMap[autoComplete] ??
|
|
919
|
-
autoComplete
|
|
918
|
+
(autoCompleteWebToAutoCompleteAndroidMap[autoComplete] ??
|
|
919
|
+
autoComplete)
|
|
920
920
|
: undefined
|
|
921
921
|
}
|
|
922
922
|
textContentType={
|
|
@@ -138,7 +138,7 @@ class TouchableBounce extends React.Component<
|
|
|
138
138
|
const accessibilityLiveRegion =
|
|
139
139
|
this.props['aria-live'] === 'off'
|
|
140
140
|
? 'none'
|
|
141
|
-
: this.props['aria-live'] ?? this.props.accessibilityLiveRegion;
|
|
141
|
+
: (this.props['aria-live'] ?? this.props.accessibilityLiveRegion);
|
|
142
142
|
const _accessibilityState = {
|
|
143
143
|
busy: this.props['aria-busy'] ?? this.props.accessibilityState?.busy,
|
|
144
144
|
checked:
|
|
@@ -328,7 +328,7 @@ class TouchableHighlightImpl extends React.Component<
|
|
|
328
328
|
const accessibilityLiveRegion =
|
|
329
329
|
this.props['aria-live'] === 'off'
|
|
330
330
|
? 'none'
|
|
331
|
-
: this.props['aria-live'] ?? this.props.accessibilityLiveRegion;
|
|
331
|
+
: (this.props['aria-live'] ?? this.props.accessibilityLiveRegion);
|
|
332
332
|
|
|
333
333
|
const accessibilityLabel =
|
|
334
334
|
this.props['aria-label'] ?? this.props.accessibilityLabel;
|
|
@@ -332,7 +332,7 @@ class TouchableNativeFeedback extends React.Component<
|
|
|
332
332
|
const accessibilityLiveRegion =
|
|
333
333
|
this.props['aria-live'] === 'off'
|
|
334
334
|
? 'none'
|
|
335
|
-
: this.props['aria-live'] ?? this.props.accessibilityLiveRegion;
|
|
335
|
+
: (this.props['aria-live'] ?? this.props.accessibilityLiveRegion);
|
|
336
336
|
|
|
337
337
|
const accessibilityLabel =
|
|
338
338
|
this.props['aria-label'] ?? this.props.accessibilityLabel;
|
|
@@ -294,7 +294,7 @@ class TouchableOpacity extends React.Component<
|
|
|
294
294
|
const accessibilityLiveRegion =
|
|
295
295
|
this.props['aria-live'] === 'off'
|
|
296
296
|
? 'none'
|
|
297
|
-
: this.props['aria-live'] ?? this.props.accessibilityLiveRegion;
|
|
297
|
+
: (this.props['aria-live'] ?? this.props.accessibilityLiveRegion);
|
|
298
298
|
|
|
299
299
|
const accessibilityLabel =
|
|
300
300
|
this.props['aria-label'] ?? this.props.accessibilityLabel;
|
|
@@ -189,7 +189,7 @@ export default function TouchableWithoutFeedback(
|
|
|
189
189
|
disabled:
|
|
190
190
|
disabled !== null
|
|
191
191
|
? disabled
|
|
192
|
-
: ariaDisabled ?? accessibilityState?.disabled,
|
|
192
|
+
: (ariaDisabled ?? accessibilityState?.disabled),
|
|
193
193
|
hitSlop: hitSlop,
|
|
194
194
|
delayLongPress: delayLongPress,
|
|
195
195
|
delayPressIn: delayPressIn,
|
|
@@ -272,7 +272,7 @@ export default function TouchableWithoutFeedback(
|
|
|
272
272
|
? 'no-hide-descendants'
|
|
273
273
|
: props.importantForAccessibility,
|
|
274
274
|
accessibilityLiveRegion:
|
|
275
|
-
ariaLive === 'off' ? 'none' : ariaLive ?? props.accessibilityLiveRegion,
|
|
275
|
+
ariaLive === 'off' ? 'none' : (ariaLive ?? props.accessibilityLiveRegion),
|
|
276
276
|
nativeID: props.id ?? props.nativeID,
|
|
277
277
|
};
|
|
278
278
|
|
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 82;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'nightly-
|
|
32
|
+
static prerelease: string | null = 'nightly-20250806-5936f29d6';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
#import <React/RCTView.h>
|
|
10
10
|
#import <UIKit/UIKit.h>
|
|
11
11
|
|
|
12
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
13
|
+
|
|
12
14
|
@class RCTBridge;
|
|
13
15
|
@class RCTImageSource;
|
|
14
16
|
|
|
@@ -25,3 +27,5 @@
|
|
|
25
27
|
@property (nonatomic, copy) NSString *internal_analyticTag;
|
|
26
28
|
|
|
27
29
|
@end
|
|
30
|
+
|
|
31
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
#import <React/RCTUtils.h>
|
|
18
18
|
#import <React/UIView+React.h>
|
|
19
19
|
|
|
20
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
21
|
+
|
|
20
22
|
/**
|
|
21
23
|
* Determines whether an image of `currentSize` should be reloaded for display
|
|
22
24
|
* at `idealSize`.
|
|
@@ -502,3 +504,5 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
|
|
|
502
504
|
}
|
|
503
505
|
|
|
504
506
|
@end
|
|
507
|
+
|
|
508
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#import <React/RCTImageViewManager.h>
|
|
9
9
|
|
|
10
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
11
|
+
|
|
10
12
|
#import <UIKit/UIKit.h>
|
|
11
13
|
|
|
12
14
|
#import <React/RCTConvert.h>
|
|
@@ -114,3 +116,5 @@ RCT_EXPORT_METHOD(queryCache
|
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
@end
|
|
119
|
+
|
|
120
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -103,7 +103,7 @@ const InteractionManagerStub = {
|
|
|
103
103
|
cancel: () => void,
|
|
104
104
|
...
|
|
105
105
|
} {
|
|
106
|
-
let immediateID: ?$
|
|
106
|
+
let immediateID: ?$FlowFixMe;
|
|
107
107
|
const promise = new Promise(resolve => {
|
|
108
108
|
immediateID = setImmediate(() => {
|
|
109
109
|
if (typeof task === 'object' && task !== null) {
|
package/Libraries/Modal/Modal.js
CHANGED
|
@@ -292,7 +292,7 @@ class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
292
292
|
backgroundColor:
|
|
293
293
|
this.props.transparent === true
|
|
294
294
|
? 'transparent'
|
|
295
|
-
: this.props.backdropColor ?? 'white',
|
|
295
|
+
: (this.props.backdropColor ?? 'white'),
|
|
296
296
|
};
|
|
297
297
|
|
|
298
298
|
let animationType = this.props.animationType || 'none';
|
|
@@ -26,8 +26,6 @@ import createPerformanceLogger from '../Utilities/createPerformanceLogger';
|
|
|
26
26
|
import SceneTracker from '../Utilities/SceneTracker';
|
|
27
27
|
import {coerceDisplayMode} from './DisplayMode';
|
|
28
28
|
import HeadlessJsTaskError from './HeadlessJsTaskError';
|
|
29
|
-
import NativeHeadlessJsTaskSupport from './NativeHeadlessJsTaskSupport';
|
|
30
|
-
import renderApplication from './renderApplication';
|
|
31
29
|
import {unmountComponentAtNodeAndRemoveContainer} from './RendererProxy';
|
|
32
30
|
import invariant from 'invariant';
|
|
33
31
|
|
|
@@ -86,6 +84,7 @@ export function registerComponent(
|
|
|
86
84
|
): string {
|
|
87
85
|
const scopedPerformanceLogger = createPerformanceLogger();
|
|
88
86
|
runnables[appKey] = (appParameters, displayMode) => {
|
|
87
|
+
const renderApplication = require('./renderApplication').default;
|
|
89
88
|
renderApplication(
|
|
90
89
|
componentProviderInstrumentationHook(
|
|
91
90
|
componentProvider,
|
|
@@ -258,6 +257,9 @@ export function startHeadlessTask(
|
|
|
258
257
|
taskKey: string,
|
|
259
258
|
data: any,
|
|
260
259
|
): void {
|
|
260
|
+
const NativeHeadlessJsTaskSupport =
|
|
261
|
+
require('./NativeHeadlessJsTaskSupport').default;
|
|
262
|
+
|
|
261
263
|
const taskProvider = taskProviders.get(taskKey);
|
|
262
264
|
if (!taskProvider) {
|
|
263
265
|
console.warn(`No task registered for key ${taskKey}`);
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#import <React/RCTShadowView.h>
|
|
9
9
|
|
|
10
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
11
|
+
|
|
10
12
|
#import "RCTTextAttributes.h"
|
|
11
13
|
|
|
12
14
|
NS_ASSUME_NONNULL_BEGIN
|
|
@@ -27,3 +29,5 @@ extern NSString *const RCTBaseTextShadowViewEmbeddedShadowViewAttributeName;
|
|
|
27
29
|
@end
|
|
28
30
|
|
|
29
31
|
NS_ASSUME_NONNULL_END
|
|
32
|
+
|
|
33
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#import <React/RCTBaseTextShadowView.h>
|
|
9
9
|
|
|
10
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
11
|
+
|
|
10
12
|
#import <React/RCTShadowView+Layout.h>
|
|
11
13
|
|
|
12
14
|
#import <React/RCTRawTextShadowView.h>
|
|
@@ -156,3 +158,5 @@ static void RCTInlineViewYogaNodeDirtied(YGNodeConstRef node)
|
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
@end
|
|
161
|
+
|
|
162
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#import <React/RCTViewManager.h>
|
|
9
9
|
|
|
10
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
11
|
+
|
|
10
12
|
NS_ASSUME_NONNULL_BEGIN
|
|
11
13
|
|
|
12
14
|
@interface RCTBaseTextViewManager : RCTViewManager
|
|
@@ -14,3 +16,5 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
14
16
|
@end
|
|
15
17
|
|
|
16
18
|
NS_ASSUME_NONNULL_END
|
|
19
|
+
|
|
20
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#import <React/RCTBaseTextViewManager.h>
|
|
9
9
|
|
|
10
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
11
|
+
|
|
10
12
|
@implementation RCTBaseTextViewManager
|
|
11
13
|
|
|
12
14
|
RCT_EXPORT_MODULE(RCTBaseText)
|
|
@@ -58,3 +60,5 @@ RCT_REMAP_SHADOW_PROPERTY(isHighlighted, textAttributes.isHighlighted, BOOL)
|
|
|
58
60
|
RCT_REMAP_SHADOW_PROPERTY(textTransform, textAttributes.textTransform, RCTTextTransform)
|
|
59
61
|
|
|
60
62
|
@end
|
|
63
|
+
|
|
64
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
#import <React/RCTTextDecorationLineType.h>
|
|
12
12
|
#import <React/RCTTextTransform.h>
|
|
13
13
|
|
|
14
|
+
#ifndef RCT_FIT_RM_OLD_COMPONENT
|
|
15
|
+
|
|
14
16
|
NS_ASSUME_NONNULL_BEGIN
|
|
15
17
|
|
|
16
18
|
extern NSString *const RCTTextAttributesIsHighlightedAttributeName;
|
|
@@ -98,3 +100,5 @@ extern NSString *const RCTTextAttributesTagAttributeName;
|
|
|
98
100
|
@end
|
|
99
101
|
|
|
100
102
|
NS_ASSUME_NONNULL_END
|
|
103
|
+
|
|
104
|
+
#endif // RCT_FIT_RM_OLD_COMPONENT
|