react-native 0.82.0-nightly-20250801-504cf3e93 → 0.82.0-nightly-20250807-2768c8444

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.
Files changed (350) hide show
  1. package/Libraries/Animated/NativeAnimatedAllowlist.js +1 -0
  2. package/Libraries/Animated/nodes/AnimatedColor.js +8 -8
  3. package/Libraries/Animated/nodes/AnimatedInterpolation.js +4 -4
  4. package/Libraries/Animated/nodes/AnimatedObject.js +1 -1
  5. package/Libraries/Animated/nodes/AnimatedProps.js +2 -2
  6. package/Libraries/Animated/nodes/AnimatedStyle.js +3 -3
  7. package/Libraries/AppDelegate/RCTAppSetupUtils.mm +7 -10
  8. package/Libraries/AppDelegate/RCTDefaultReactNativeFactoryDelegate.mm +5 -6
  9. package/Libraries/AppDelegate/RCTReactNativeFactory.mm +10 -32
  10. package/Libraries/AppDelegate/RCTRootViewFactory.mm +26 -48
  11. package/Libraries/AppState/AppState.js +3 -3
  12. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +1 -1
  13. package/Libraries/Components/Pressable/Pressable.js +1 -1
  14. package/Libraries/Components/StatusBar/StatusBar.js +2 -2
  15. package/Libraries/Components/Switch/Switch.js +1 -1
  16. package/Libraries/Components/TextInput/TextInput.js +8 -3
  17. package/Libraries/Components/Touchable/TouchableBounce.js +1 -1
  18. package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
  19. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -1
  20. package/Libraries/Components/Touchable/TouchableOpacity.js +1 -1
  21. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +2 -2
  22. package/Libraries/Core/ReactNativeVersion.js +1 -1
  23. package/Libraries/Image/RCTImageShadowView.h +4 -0
  24. package/Libraries/Image/RCTImageShadowView.mm +4 -0
  25. package/Libraries/Image/RCTImageView.h +4 -0
  26. package/Libraries/Image/RCTImageView.mm +4 -0
  27. package/Libraries/Image/RCTImageViewManager.h +4 -0
  28. package/Libraries/Image/RCTImageViewManager.mm +4 -0
  29. package/Libraries/Interaction/InteractionManager.js +2 -2
  30. package/Libraries/Modal/Modal.js +1 -1
  31. package/Libraries/NativeComponent/ViewConfig.js +1 -1
  32. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  33. package/Libraries/ReactNative/AppRegistryImpl.js +4 -2
  34. package/Libraries/StyleSheet/splitLayoutProps.js +2 -2
  35. package/Libraries/Text/BaseText/RCTBaseTextShadowView.h +4 -0
  36. package/Libraries/Text/BaseText/RCTBaseTextShadowView.mm +4 -0
  37. package/Libraries/Text/BaseText/RCTBaseTextViewManager.h +4 -0
  38. package/Libraries/Text/BaseText/RCTBaseTextViewManager.mm +4 -0
  39. package/Libraries/Text/RCTTextAttributes.h +4 -0
  40. package/Libraries/Text/RCTTextAttributes.mm +4 -0
  41. package/Libraries/Text/RawText/RCTRawTextShadowView.h +4 -0
  42. package/Libraries/Text/RawText/RCTRawTextShadowView.mm +4 -0
  43. package/Libraries/Text/RawText/RCTRawTextViewManager.h +4 -0
  44. package/Libraries/Text/RawText/RCTRawTextViewManager.mm +4 -0
  45. package/Libraries/Text/Text/RCTTextShadowView.h +4 -0
  46. package/Libraries/Text/Text/RCTTextShadowView.mm +4 -0
  47. package/Libraries/Text/Text/RCTTextView.h +4 -0
  48. package/Libraries/Text/Text/RCTTextView.mm +4 -0
  49. package/Libraries/Text/Text/RCTTextViewManager.h +4 -0
  50. package/Libraries/Text/Text/RCTTextViewManager.mm +4 -0
  51. package/Libraries/Text/Text.js +509 -235
  52. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +4 -0
  53. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm +4 -0
  54. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.h +4 -0
  55. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.mm +4 -0
  56. package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.h +4 -0
  57. package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.mm +4 -0
  58. package/Libraries/Text/TextInput/RCTBaseTextInputView.h +4 -0
  59. package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +4 -0
  60. package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.h +4 -0
  61. package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm +4 -0
  62. package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.h +4 -0
  63. package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.mm +4 -0
  64. package/Libraries/Text/TextInput/RCTInputAccessoryView.h +4 -0
  65. package/Libraries/Text/TextInput/RCTInputAccessoryView.mm +4 -0
  66. package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h +4 -0
  67. package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.mm +4 -0
  68. package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.h +4 -0
  69. package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.mm +4 -0
  70. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.h +4 -0
  71. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.mm +4 -0
  72. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h +4 -0
  73. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.mm +4 -0
  74. package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h +4 -0
  75. package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.mm +4 -0
  76. package/Libraries/Text/VirtualText/RCTVirtualTextView.h +4 -0
  77. package/Libraries/Text/VirtualText/RCTVirtualTextView.mm +4 -0
  78. package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h +4 -0
  79. package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.mm +4 -0
  80. package/Libraries/Utilities/useMergeRefs.js +1 -1
  81. package/Libraries/Wrapper/Example/RCTWrapperExampleView.h +4 -0
  82. package/Libraries/Wrapper/Example/RCTWrapperExampleView.m +4 -0
  83. package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h +4 -0
  84. package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m +4 -0
  85. package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h +4 -0
  86. package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m +4 -0
  87. package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h +4 -0
  88. package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m +4 -0
  89. package/Libraries/Wrapper/RCTWrapper.h +4 -0
  90. package/Libraries/Wrapper/RCTWrapperShadowView.h +4 -0
  91. package/Libraries/Wrapper/RCTWrapperShadowView.m +4 -0
  92. package/Libraries/Wrapper/RCTWrapperView.h +4 -0
  93. package/Libraries/Wrapper/RCTWrapperView.m +4 -0
  94. package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.h +4 -0
  95. package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.m +4 -0
  96. package/Libraries/Wrapper/RCTWrapperViewManager.h +4 -0
  97. package/Libraries/Wrapper/RCTWrapperViewManager.m +4 -0
  98. package/React/Base/RCTBridge.mm +3 -4
  99. package/React/Base/RCTUtils.mm +1 -2
  100. package/React/Base/RCTVersion.m +1 -1
  101. package/React/CoreModules/React-CoreModules.podspec +1 -1
  102. package/React/FBReactNativeSpec/FBReactNativeSpecJSI-generated.cpp +29 -8
  103. package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +36 -9
  104. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +22 -0
  105. package/React/React-RCTFabric.podspec +1 -0
  106. package/React/Runtime/React-RCTRuntime.podspec +1 -0
  107. package/React/Views/RCTActivityIndicatorView.h +4 -0
  108. package/React/Views/RCTActivityIndicatorView.m +4 -0
  109. package/React/Views/RCTActivityIndicatorViewManager.h +4 -0
  110. package/React/Views/RCTActivityIndicatorViewManager.m +4 -0
  111. package/React/Views/RCTDebuggingOverlayManager.h +4 -0
  112. package/React/Views/RCTDebuggingOverlayManager.m +4 -0
  113. package/React/Views/RCTModalHostView.h +4 -0
  114. package/React/Views/RCTModalHostView.m +4 -0
  115. package/React/Views/RCTModalHostViewController.h +4 -0
  116. package/React/Views/RCTModalHostViewController.m +4 -0
  117. package/React/Views/RCTModalHostViewManager.h +4 -0
  118. package/React/Views/RCTModalHostViewManager.m +4 -0
  119. package/React/Views/RCTModalManager.h +4 -0
  120. package/React/Views/RCTModalManager.m +4 -0
  121. package/React/Views/RCTRootShadowView.m +12 -0
  122. package/React/Views/RCTShadowView.m +92 -0
  123. package/React/Views/RCTSwitch.h +4 -0
  124. package/React/Views/RCTSwitch.m +4 -0
  125. package/React/Views/RCTSwitchManager.h +4 -0
  126. package/React/Views/RCTSwitchManager.m +4 -0
  127. package/React/Views/RefreshControl/RCTRefreshControl.h +4 -0
  128. package/React/Views/RefreshControl/RCTRefreshControl.m +4 -0
  129. package/React/Views/RefreshControl/RCTRefreshControlManager.h +4 -0
  130. package/React/Views/RefreshControl/RCTRefreshControlManager.m +4 -0
  131. package/React/Views/SafeAreaView/RCTSafeAreaShadowView.h +4 -0
  132. package/React/Views/SafeAreaView/RCTSafeAreaShadowView.m +4 -0
  133. package/React/Views/SafeAreaView/RCTSafeAreaView.h +4 -0
  134. package/React/Views/SafeAreaView/RCTSafeAreaView.m +4 -0
  135. package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.h +4 -0
  136. package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.m +4 -0
  137. package/React/Views/SafeAreaView/RCTSafeAreaViewManager.h +4 -0
  138. package/React/Views/SafeAreaView/RCTSafeAreaViewManager.m +4 -0
  139. package/React/Views/ScrollView/RCTScrollContentShadowView.h +4 -0
  140. package/React/Views/ScrollView/RCTScrollContentShadowView.m +4 -0
  141. package/React/Views/ScrollView/RCTScrollContentView.h +4 -0
  142. package/React/Views/ScrollView/RCTScrollContentView.m +4 -0
  143. package/React/Views/ScrollView/RCTScrollContentViewManager.h +4 -0
  144. package/React/Views/ScrollView/RCTScrollContentViewManager.m +4 -0
  145. package/React/Views/ScrollView/RCTScrollView.h +4 -0
  146. package/React/Views/ScrollView/RCTScrollView.m +4 -0
  147. package/React/Views/ScrollView/RCTScrollViewManager.h +4 -0
  148. package/React/Views/ScrollView/RCTScrollViewManager.m +4 -0
  149. package/ReactAndroid/api/ReactAndroid.api +0 -11
  150. package/ReactAndroid/gradle.properties +1 -1
  151. package/ReactAndroid/src/main/java/com/facebook/react/MemoryPressureRouter.kt +1 -1
  152. package/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.kt +1 -1
  153. package/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.kt +3 -3
  154. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManagerBuilder.kt +2 -0
  155. package/ReactAndroid/src/main/java/com/facebook/react/ReactPackageLogger.kt +2 -2
  156. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +7 -2
  157. package/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNode.kt +1 -1
  158. package/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.kt +1 -1
  159. package/ReactAndroid/src/main/java/com/facebook/react/animated/InterpolationAnimatedNode.kt +1 -1
  160. package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.kt +1 -1
  161. package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.kt +21 -24
  162. package/ReactAndroid/src/main/java/com/facebook/react/animated/ValueAnimatedNode.kt +4 -4
  163. package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstance.kt +6 -2
  164. package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstanceImpl.java +4 -0
  165. package/ReactAndroid/src/main/java/com/facebook/react/bridge/Dynamic.kt +1 -1
  166. package/ReactAndroid/src/main/java/com/facebook/react/bridge/JSInstance.kt +2 -2
  167. package/ReactAndroid/src/main/java/com/facebook/react/bridge/NotThreadSafeBridgeIdleDebugListener.kt +6 -0
  168. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactCxxErrorHandler.kt +2 -2
  169. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactMarker.kt +4 -9
  170. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactSoftExceptionLogger.kt +4 -4
  171. package/ReactAndroid/src/main/java/com/facebook/react/bridge/SoftAssertions.kt +2 -2
  172. package/ReactAndroid/src/main/java/com/facebook/react/bridge/UIManagerListener.kt +5 -5
  173. package/ReactAndroid/src/main/java/com/facebook/react/bridge/WindowFocusChangeListener.kt +1 -1
  174. package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultComponentsRegistry.kt +1 -1
  175. package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt +5 -3
  176. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/PackagerStatusCheck.kt +1 -1
  177. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxContentView.kt +1 -1
  178. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/BundleLoadCallback.kt +1 -1
  179. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.kt +1 -1
  180. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
  181. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
  182. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
  183. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
  184. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
  185. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
  186. package/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModuleManager.kt +1 -1
  187. package/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt +3 -3
  188. package/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BlobModule.kt +3 -3
  189. package/ReactAndroid/src/main/java/com/facebook/react/modules/clipboard/ClipboardModule.kt +1 -2
  190. package/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/DialogTitle.kt +2 -2
  191. package/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nUtil.kt +1 -1
  192. package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +8 -9
  193. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/ForwardingCookieHandler.kt +2 -2
  194. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/InspectorNetworkReporter.kt +41 -3
  195. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkEventUtil.kt +4 -1
  196. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +9 -9
  197. package/ReactAndroid/src/main/java/com/facebook/react/modules/permissions/PermissionsModule.kt +6 -12
  198. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  199. package/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/WebSocketModule.kt +3 -3
  200. package/ReactAndroid/src/main/java/com/facebook/react/packagerconnection/ReconnectingWebSocket.kt +4 -4
  201. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +6 -6
  202. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +3 -3
  203. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceImpl.kt +1 -1
  204. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceView.kt +2 -1
  205. package/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/TaskCompletionSource.kt +3 -3
  206. package/ReactAndroid/src/main/java/com/facebook/react/soloader/OpenSourceMergedSoMapping.kt +1 -1
  207. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BackgroundStyleApplicator.kt +8 -8
  208. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSPointerDispatcher.java +15 -49
  209. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.kt +18 -0
  210. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java +25 -13
  211. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactClippingViewGroupHelper.kt +1 -1
  212. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt +1 -1
  213. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.kt +2 -2
  214. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerPropertyUpdater.kt +2 -2
  215. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/FabricEventDispatcher.kt +1 -1
  216. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/SynchronousEventReceiver.kt +1 -1
  217. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/util/ReactFindViewUtil.kt +6 -6
  218. package/ReactAndroid/src/main/java/com/facebook/react/views/image/ScaleTypeStartInside.kt +1 -3
  219. package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.kt +3 -1
  220. package/ReactAndroid/src/main/java/com/facebook/react/views/safeareaview/ReactSafeAreaViewManager.kt +2 -3
  221. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +2 -12
  222. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.kt +4 -5
  223. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +1 -10
  224. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.kt +17 -1
  225. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +4 -5
  226. package/ReactAndroid/src/main/java/com/facebook/react/views/switchview/ReactSwitch.kt +1 -1
  227. package/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextView.kt +2 -2
  228. package/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextViewManager.kt +1 -1
  229. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +4 -4
  230. package/ReactAndroid/src/main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageShadowNode.kt +2 -2
  231. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactContentSizeChangedEvent.kt +1 -2
  232. package/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/ReactUnimplementedView.kt +1 -1
  233. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +1 -1
  234. package/ReactAndroid/src/main/jni/CMakeLists.txt +0 -3
  235. package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +2 -1
  236. package/ReactAndroid/src/main/jni/react/{jni/InspectorNetworkReporter.cpp → devsupport/JInspectorNetworkReporter.cpp} +42 -22
  237. package/ReactAndroid/src/main/jni/react/{jni/InspectorNetworkReporter.h → devsupport/JInspectorNetworkReporter.h} +15 -8
  238. package/ReactAndroid/src/main/jni/react/devsupport/OnLoad.cpp +3 -0
  239. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
  240. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
  241. package/ReactAndroid/src/main/jni/react/jni/CMakeLists.txt +0 -3
  242. package/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp +0 -2
  243. package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.cpp +3 -0
  244. package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.h +2 -0
  245. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  246. package/ReactCommon/hermes/React-hermes.podspec +1 -0
  247. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +4 -3
  248. package/ReactCommon/jsinspector-modern/HostAgent.cpp +15 -3
  249. package/ReactCommon/jsinspector-modern/HostAgent.h +22 -0
  250. package/ReactCommon/jsinspector-modern/HostTarget.cpp +72 -0
  251. package/ReactCommon/jsinspector-modern/HostTarget.h +69 -0
  252. package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.cpp +54 -0
  253. package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.h +86 -0
  254. package/ReactCommon/jsinspector-modern/HostTargetTracing.cpp +55 -0
  255. package/ReactCommon/jsinspector-modern/InspectorFlags.cpp +7 -0
  256. package/ReactCommon/jsinspector-modern/InspectorFlags.h +6 -0
  257. package/ReactCommon/jsinspector-modern/InspectorUtilities.cpp +8 -0
  258. package/ReactCommon/jsinspector-modern/InspectorUtilities.h +19 -0
  259. package/ReactCommon/jsinspector-modern/InstanceAgent.cpp +32 -13
  260. package/ReactCommon/jsinspector-modern/InstanceAgent.h +24 -17
  261. package/ReactCommon/jsinspector-modern/InstanceTarget.cpp +27 -0
  262. package/ReactCommon/jsinspector-modern/InstanceTarget.h +22 -0
  263. package/ReactCommon/jsinspector-modern/NetworkIOAgent.cpp +10 -1
  264. package/ReactCommon/jsinspector-modern/RuntimeAgent.cpp +20 -0
  265. package/ReactCommon/jsinspector-modern/RuntimeAgent.h +22 -0
  266. package/ReactCommon/jsinspector-modern/RuntimeTarget.cpp +12 -0
  267. package/ReactCommon/jsinspector-modern/RuntimeTarget.h +20 -0
  268. package/ReactCommon/jsinspector-modern/SessionState.h +6 -0
  269. package/ReactCommon/jsinspector-modern/TracingAgent.cpp +27 -78
  270. package/ReactCommon/jsinspector-modern/TracingAgent.h +7 -22
  271. package/ReactCommon/jsinspector-modern/network/HttpUtils.cpp +9 -1
  272. package/ReactCommon/jsinspector-modern/network/NetworkReporter.cpp +4 -4
  273. package/ReactCommon/jsinspector-modern/tests/ConsoleTimeStampTest.cpp +22 -25
  274. package/ReactCommon/jsinspector-modern/tests/HostTargetTest.cpp +22 -0
  275. package/ReactCommon/jsinspector-modern/tracing/InstanceTracingProfile.h +2 -3
  276. package/ReactCommon/jsinspector-modern/tracing/PerformanceTracer.cpp +1 -1
  277. package/ReactCommon/jsinspector-modern/tracing/TargetTracingAgent.h +33 -0
  278. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingState.h +39 -0
  279. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingStateSerializer.cpp +68 -0
  280. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingStateSerializer.h +42 -0
  281. package/ReactCommon/jsinspector-modern/tracing/TracingMode.h +17 -0
  282. package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -0
  283. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
  284. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
  285. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +32 -14
  286. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
  287. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
  288. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
  289. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
  290. package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -0
  291. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
  292. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
  293. package/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp +1 -7
  294. package/ReactCommon/react/nativemodule/webperformance/NativePerformance.h +0 -4
  295. package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +3 -0
  296. package/ReactCommon/react/performance/timeline/PerformanceEntryReporter.cpp +0 -4
  297. package/ReactCommon/react/performance/timeline/PerformanceEntryReporter.h +4 -9
  298. package/ReactCommon/react/renderer/components/image/ImageProps.cpp +50 -0
  299. package/ReactCommon/react/renderer/components/image/ImageProps.h +5 -1
  300. package/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewShadowNode.cpp +2 -1
  301. package/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewShadowNode.h +1 -0
  302. package/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp +1 -0
  303. package/ReactCommon/react/renderer/components/view/ViewShadowNode.cpp +1 -0
  304. package/ReactCommon/react/renderer/components/view/ViewShadowNode.h +1 -0
  305. package/ReactCommon/react/renderer/graphics/ValueUnit.h +1 -1
  306. package/ReactCommon/react/renderer/imagemanager/primitives.h +62 -0
  307. package/ReactCommon/react/renderer/observers/events/EventPerformanceLogger.cpp +5 -6
  308. package/ReactCommon/react/renderer/runtimescheduler/SchedulerPriorityUtils.h +6 -4
  309. package/ReactCommon/react/timing/CMakeLists.txt +2 -0
  310. package/ReactCommon/react/timing/React-timing.podspec +2 -0
  311. package/ReactCommon/react/timing/primitives.h +32 -4
  312. package/gradle/libs.versions.toml +1 -1
  313. package/jest/local-setup.js +2 -2
  314. package/jest/mock.js +1 -1
  315. package/jest/mockComponent.js +9 -9
  316. package/jest/mockNativeComponent.js +2 -2
  317. package/jest/mocks/Modal.js +1 -1
  318. package/jest/mocks/ViewNativeComponent.js +1 -1
  319. package/jest/setup.js +2 -2
  320. package/package.json +8 -8
  321. package/react-native.config.js +1 -1
  322. package/scripts/cocoapods/codegen.rb +1 -1
  323. package/scripts/cocoapods/new_architecture.rb +1 -1
  324. package/scripts/codegen/codegen-utils.js +4 -4
  325. package/scripts/codegen/generate-artifacts-executor/constants.js +29 -29
  326. package/scripts/codegen/generate-artifacts-executor/generateNativeCode.js +1 -1
  327. package/scripts/codegen/generate-artifacts-executor/generateRCTModuleProviders.js +1 -1
  328. package/scripts/codegen/generate-artifacts-executor/generateRCTThirdPartyComponents.js +2 -2
  329. package/scripts/codegen/generate-artifacts-executor/utils.js +3 -3
  330. package/scripts/codegen/generate-specs-cli-executor.js +14 -14
  331. package/scripts/generate-provider-cli.js +5 -5
  332. package/scripts/react_native_pods.rb +26 -7
  333. package/sdks/hermesc/osx-bin/hermes +0 -0
  334. package/sdks/hermesc/osx-bin/hermesc +0 -0
  335. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  336. package/src/private/animated/createAnimatedPropsHook.js +2 -2
  337. package/src/private/animated/createAnimatedPropsMemoHook.js +6 -6
  338. package/src/private/components/virtualview/VirtualView.js +1 -1
  339. package/src/private/featureflags/ReactNativeFeatureFlags.js +12 -1
  340. package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +19 -0
  341. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
  342. package/src/private/webapis/dom/nodes/ReadOnlyElement.js +1 -1
  343. package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +2 -2
  344. package/src/private/webapis/dom/oldstylecollections/NodeList.js +2 -2
  345. package/src/private/webapis/geometry/DOMRectList.js +2 -2
  346. package/src/private/webapis/performance/specs/NativePerformance.js +0 -1
  347. package/src/private/webapis/structuredClone/structuredClone.js +1 -1
  348. package/types_generated/Libraries/Text/Text.d.ts +1 -6
  349. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactNoCrashBridgeNotAllowedSoftException.kt +0 -29
  350. package/ReactAndroid/src/main/java/com/facebook/react/views/safeareaview/ReactSafeAreaViewShadowNode.kt +0 -15
@@ -48,6 +48,7 @@ const SUPPORTED_STYLES: {[string]: true} = {
48
48
  borderStartStartRadius: true,
49
49
  elevation: true,
50
50
  opacity: true,
51
+ filter: true,
51
52
  transform: true,
52
53
  zIndex: true,
53
54
  /* ios styles */
@@ -60,12 +60,12 @@ function processColor(
60
60
  }
61
61
 
62
62
  if (isRgbaValue(color)) {
63
- // $FlowIgnore[incompatible-cast] - Type is verified above
63
+ // $FlowFixMe[incompatible-cast] - Type is verified above
64
64
  return (color: RgbaValue);
65
65
  }
66
66
 
67
67
  let normalizedColor: ?ProcessedColorValue = normalizeColor(
68
- // $FlowIgnore[incompatible-cast] - Type is verified above
68
+ // $FlowFixMe[incompatible-cast] - Type is verified above
69
69
  (color: ColorValue),
70
70
  );
71
71
  if (normalizedColor === undefined || normalizedColor === null) {
@@ -125,7 +125,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
125
125
  let value: RgbaValue | RgbaAnimatedValue | ColorValue =
126
126
  valueIn ?? defaultColor;
127
127
  if (isRgbaAnimatedValue(value)) {
128
- // $FlowIgnore[incompatible-cast] - Type is verified above
128
+ // $FlowFixMe[incompatible-cast] - Type is verified above
129
129
  const rgbaAnimatedValue: RgbaAnimatedValue = (value: RgbaAnimatedValue);
130
130
  this.r = rgbaAnimatedValue.r;
131
131
  this.g = rgbaAnimatedValue.g;
@@ -133,14 +133,14 @@ export default class AnimatedColor extends AnimatedWithChildren {
133
133
  this.a = rgbaAnimatedValue.a;
134
134
  } else {
135
135
  const processedColor: RgbaValue | NativeColorValue =
136
- // $FlowIgnore[incompatible-cast] - Type is verified above
136
+ // $FlowFixMe[incompatible-cast] - Type is verified above
137
137
  processColor((value: ColorValue | RgbaValue)) ?? defaultColor;
138
138
  let initColor: RgbaValue = defaultColor;
139
139
  if (isRgbaValue(processedColor)) {
140
- // $FlowIgnore[incompatible-cast] - Type is verified above
140
+ // $FlowFixMe[incompatible-cast] - Type is verified above
141
141
  initColor = (processedColor: RgbaValue);
142
142
  } else {
143
- // $FlowIgnore[incompatible-cast] - Type is verified above
143
+ // $FlowFixMe[incompatible-cast] - Type is verified above
144
144
  this.nativeColor = (processedColor: NativeColorValue);
145
145
  }
146
146
 
@@ -170,7 +170,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
170
170
  processColor(value) ?? defaultColor;
171
171
  this._withSuspendedCallbacks(() => {
172
172
  if (isRgbaValue(processedColor)) {
173
- // $FlowIgnore[incompatible-type] - Type is verified above
173
+ // $FlowFixMe[incompatible-type] - Type is verified above
174
174
  const rgbaValue: RgbaValue = processedColor;
175
175
  this.r.setValue(rgbaValue.r);
176
176
  this.g.setValue(rgbaValue.g);
@@ -181,7 +181,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
181
181
  shouldUpdateNodeConfig = true;
182
182
  }
183
183
  } else {
184
- // $FlowIgnore[incompatible-type] - Type is verified above
184
+ // $FlowFixMe[incompatible-type] - Type is verified above
185
185
  const nativeColor: NativeColorValue = processedColor;
186
186
  if (this.nativeColor !== nativeColor) {
187
187
  this.nativeColor = nativeColor;
@@ -224,7 +224,7 @@ function createStringInterpolation(
224
224
  outputRange.every(output =>
225
225
  output.components.every(
226
226
  (component, i) =>
227
- // $FlowIgnoreMe[invalid-compare]
227
+ // $FlowFixMe[invalid-compare]
228
228
  typeof component === 'number' || component === firstOutput[i],
229
229
  ),
230
230
  ),
@@ -235,9 +235,9 @@ function createStringInterpolation(
235
235
  const numericComponents: $ReadOnlyArray<$ReadOnlyArray<number>> =
236
236
  outputRange.map(output =>
237
237
  isColor
238
- ? // $FlowIgnoreMe[incompatible-call]
238
+ ? // $FlowFixMe[incompatible-type]
239
239
  output.components
240
- : // $FlowIgnoreMe[incompatible-call]
240
+ : // $FlowFixMe[incompatible-call]
241
241
  output.components.filter(c => typeof c === 'number'),
242
242
  );
243
243
  const interpolations = numericComponents[0].map((_, i) =>
@@ -393,7 +393,7 @@ export default class AnimatedInterpolation<
393
393
  let outputRange = this._config.outputRange;
394
394
  let outputType = null;
395
395
  if (typeof outputRange[0] === 'string') {
396
- // $FlowIgnoreMe[incompatible-cast]
396
+ // $FlowFixMe[incompatible-cast]
397
397
  outputRange = ((outputRange: $ReadOnlyArray<string>).map(value => {
398
398
  const processedColor = processColor(value);
399
399
  if (typeof processedColor === 'number') {
@@ -21,7 +21,7 @@ const MAX_DEPTH = 5;
21
21
 
22
22
  export function isPlainObject(
23
23
  value: mixed,
24
- /* $FlowIssue[incompatible-type-guard] - Flow does not know that the prototype
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 (
@@ -325,8 +325,8 @@ export default class AnimatedProps extends AnimatedNode {
325
325
 
326
326
  // Supported versions of JSC do not implement the newer Object.hasOwn. Remove
327
327
  // this shim when they do.
328
- // $FlowIgnore[method-unbinding]
328
+ // $FlowFixMe[method-unbinding]
329
329
  const _hasOwnProp = Object.prototype.hasOwnProperty;
330
330
  const hasOwn: (obj: $ReadOnly<{...}>, prop: string) => boolean =
331
- // $FlowIgnore[method-unbinding]
331
+ // $FlowFixMe[method-unbinding]
332
332
  Object.hasOwn ?? ((obj, prop) => _hasOwnProp.call(obj, prop));
@@ -123,7 +123,7 @@ export default class AnimatedStyle extends AnimatedWithChildren {
123
123
  this._style = style;
124
124
 
125
125
  if ((Platform.OS as string) === 'web') {
126
- // $FlowIgnore[cannot-write] - Intentional shadowing.
126
+ // $FlowFixMe[cannot-write] - Intentional shadowing.
127
127
  this.__getValueForStyle = resultStyle => [
128
128
  originalStyleForWeb,
129
129
  resultStyle,
@@ -249,8 +249,8 @@ export default class AnimatedStyle extends AnimatedWithChildren {
249
249
 
250
250
  // Supported versions of JSC do not implement the newer Object.hasOwn. Remove
251
251
  // this shim when they do.
252
- // $FlowIgnore[method-unbinding]
252
+ // $FlowFixMe[method-unbinding]
253
253
  const _hasOwnProp = Object.prototype.hasOwnProperty;
254
254
  const hasOwn: (obj: $ReadOnly<{...}>, prop: string) => boolean =
255
- // $FlowIgnore[method-unbinding]
255
+ // $FlowFixMe[method-unbinding]
256
256
  Object.hasOwn ?? ((obj, prop) => _hasOwnProp.call(obj, prop));
@@ -31,7 +31,7 @@
31
31
 
32
32
  void RCTAppSetupPrepareApp(UIApplication *application, BOOL turboModuleEnabled)
33
33
  {
34
- RCTEnableTurboModule(turboModuleEnabled);
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
- if (fabricEnabled) {
47
- id<RCTSurfaceProtocol> surface = [[RCTFabricSurface alloc] initWithBridge:bridge
48
- moduleName:moduleName
49
- initialProperties:initialProperties];
50
- UIView *rootView = [[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
51
- [surface start];
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
- BOOL enableFabric = self.fabricEnabled;
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 RCTIsNewArchEnabled();
109
+ return YES;
111
110
  }
112
111
 
113
112
  - (BOOL)bridgelessEnabled
114
113
  {
115
- return self.newArchEnabled;
114
+ return YES;
116
115
  }
117
116
 
118
117
  - (BOOL)fabricEnabled
119
118
  {
120
- return self.newArchEnabled;
119
+ return YES;
121
120
  }
122
121
 
123
122
  - (BOOL)turboModuleEnabled
124
123
  {
125
- return self.newArchEnabled;
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([self turboModuleEnabled]);
56
+ RCTEnableTurboModule(YES);
60
57
 
61
58
  self.rootViewFactory = [self createRCTRootViewFactory];
62
59
 
63
- if (newArchEnabled || fabricEnabled) {
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
- if ([_delegate respondsToSelector:@selector(newArchEnabled)]) {
130
- return _delegate.newArchEnabled;
131
- }
132
- return RCTIsNewArchEnabled();
124
+ return YES;
133
125
  }
134
126
 
135
127
  - (BOOL)fabricEnabled
136
128
  {
137
- if ([_delegate respondsToSelector:@selector(fabricEnabled)]) {
138
- return _delegate.fabricEnabled;
139
- }
140
-
141
- return [self newArchEnabled];
129
+ return YES;
142
130
  }
143
131
 
144
132
  - (BOOL)turboModuleEnabled
145
133
  {
146
- if ([_delegate respondsToSelector:@selector(turboModuleEnabled)]) {
147
- return _delegate.turboModuleEnabled;
148
- }
149
-
150
- return [self newArchEnabled];
134
+ return YES;
151
135
  }
152
136
 
153
137
  - (BOOL)bridgelessEnabled
154
138
  {
155
- if ([_delegate respondsToSelector:@selector(bridgelessEnabled)]) {
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:self.fabricEnabled
254
- turboModuleEnabled:self.turboModuleEnabled
255
- bridgelessEnabled:self.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
- if ([self bridgelessEnabled]) {
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 = newArchEnabled;
77
- _turboModuleEnabled = turboModuleEnabled;
78
- _bridgelessEnabled = 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
- if (_configuration.bridgelessEnabled) {
139
- // Enable TurboModule interop by default in Bridgeless mode
140
- RCTEnableTurboModuleInterop(YES);
141
- RCTEnableTurboModuleInteropBridgeProxy(YES);
138
+ // Enable TurboModule interop by default in Bridgeless mode
139
+ RCTEnableTurboModuleInterop(YES);
140
+ RCTEnableTurboModuleInteropBridgeProxy(YES);
142
141
 
143
- [self createReactHostIfNeeded:launchOptions];
144
- return;
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
- if (_configuration.bridgelessEnabled) {
158
- RCTFabricSurface *surface = [self.reactHost createSurfaceWithModuleName:moduleName initialProperties:initProps];
152
+ RCTFabricSurface *surface = [self.reactHost createSurfaceWithModuleName:moduleName
153
+ initialProperties:initProps ? initProps : @{}];
159
154
 
160
- RCTSurfaceHostingProxyRootView *surfaceHostingProxyRootView =
161
- [[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
155
+ RCTSurfaceHostingProxyRootView *surfaceHostingProxyRootView =
156
+ [[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
162
157
 
163
- surfaceHostingProxyRootView.backgroundColor = [UIColor systemBackgroundColor];
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(rootView);
160
+ _configuration.customizeRootView(surfaceHostingProxyRootView);
178
161
  }
179
- return rootView;
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
- BOOL enableFabric = _configuration.fabricEnabled;
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
- if (RCTIsNewArchEnabled()) {
202
- std::shared_ptr<facebook::react::CallInvoker> callInvoker =
203
- std::make_shared<facebook::react::RuntimeSchedulerCallInvoker>(_runtimeScheduler);
204
- RCTTurboModuleManager *turboModuleManager =
205
- [[RCTTurboModuleManager alloc] initWithBridge:bridge
206
- delegate:_turboModuleManagerDelegate
207
- jsInvoker:callInvoker];
208
- _contextContainer->erase("RuntimeScheduler");
209
- _contextContainer->insert("RuntimeScheduler", _runtimeScheduler);
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 (!self->_configuration.fabricEnabled || self.bridgeAdapter) {
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
- // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type
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
- // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type
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
- // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type
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
- // $FlowIssue[incompatible-type] - Flow bug with unions and generics (T128099423)
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
- // $FlowIssue[method-unbinding]
218
+ // $FlowFixMe[method-unbinding]
219
219
  nativeSwitchRef.current?.setNativeProps != null
220
220
  ) {
221
221
  if (Platform.OS === 'android') {
@@ -618,6 +618,9 @@ function InternalTextInput(props: TextInputProps): React.Node {
618
618
  // so omitting onBlur and onFocus pressability handlers here.
619
619
  const {onBlur, onFocus, ...eventHandlers} = usePressability(config);
620
620
 
621
+ const _accessibilityLabel =
622
+ props?.['aria-label'] ?? props?.accessibilityLabel;
623
+
621
624
  let _accessibilityState;
622
625
  if (
623
626
  accessibilityState != null ||
@@ -681,6 +684,7 @@ function InternalTextInput(props: TextInputProps): React.Node {
681
684
  {...otherProps}
682
685
  {...eventHandlers}
683
686
  acceptDragAndDropTypes={props.experimental_acceptDragAndDropTypes}
687
+ accessibilityLabel={_accessibilityLabel}
684
688
  accessibilityState={_accessibilityState}
685
689
  accessible={accessible}
686
690
  submitBehavior={submitBehavior}
@@ -744,8 +748,9 @@ function InternalTextInput(props: TextInputProps): React.Node {
744
748
  {...otherProps}
745
749
  {...colorProps}
746
750
  {...eventHandlers}
747
- accessibilityState={_accessibilityState}
751
+ accessibilityLabel={_accessibilityLabel}
748
752
  accessibilityLabelledBy={_accessibilityLabelledBy}
753
+ accessibilityState={_accessibilityState}
749
754
  accessible={accessible}
750
755
  acceptDragAndDropTypes={props.experimental_acceptDragAndDropTypes}
751
756
  autoCapitalize={autoCapitalize}
@@ -915,8 +920,8 @@ const TextInput: component(
915
920
  Platform.OS === 'android'
916
921
  ? // $FlowFixMe[invalid-computed-prop]
917
922
  // $FlowFixMe[prop-missing]
918
- autoCompleteWebToAutoCompleteAndroidMap[autoComplete] ??
919
- autoComplete
923
+ (autoCompleteWebToAutoCompleteAndroidMap[autoComplete] ??
924
+ autoComplete)
920
925
  : undefined
921
926
  }
922
927
  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-20250801-504cf3e93';
32
+ static prerelease: string | null = 'nightly-20250807-2768c8444';
33
33
 
34
34
  static getVersionString(): string {
35
35
  return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
@@ -7,6 +7,10 @@
7
7
 
8
8
  #import <React/RCTShadowView.h>
9
9
 
10
+ #ifndef RCT_FIT_RM_OLD_COMPONENT
11
+
10
12
  @interface RCTImageShadowView : RCTShadowView
11
13
 
12
14
  @end
15
+
16
+ #endif
@@ -9,6 +9,8 @@
9
9
 
10
10
  #import <React/RCTLog.h>
11
11
 
12
+ #ifndef RCT_FIT_RM_OLD_COMPONENT
13
+
12
14
  @implementation RCTImageShadowView
13
15
 
14
16
  - (BOOL)isYogaLeafNode
@@ -22,3 +24,5 @@
22
24
  }
23
25
 
24
26
  @end
27
+
28
+ #endif
@@ -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