This project is mirrored from https://github.com/facebook/react-native.git.
Pull mirroring updated .
- Jan 27, 2025
-
- Jan 23, 2025
-
-
Riccardo Cipolleschi authored
-
- Jan 22, 2025
-
-
Riccardo Cipolleschi authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47237 The Xcodeproj gem has been released yesterday to version 1.26.0 and it broke the CI pipeline of react native. This should fix the issue [Internal] - Pin Xcodeproj gem to 1.26.0 Reviewed By: blakef Differential Revision: D65057797 fbshipit-source-id: f4035a1d3c75dd4140eb1646ab2aa0ccb08fb16b
-
Riccardo Cipolleschi authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46472 Currently, we are building the Debug symbols (dSYM) for hermes dSYM but we are not shipping them with the xcframework. This is correct, because Debug symbols can increase the size of Hermes thus enalrging the iOS IPA and increasing the download time when installing pods. We distribute the dSYM separatedly, in case users needs to symbolicate Hermes stack traces. However the path to the dSYM still appears in the Info.plist of the universal XCFramework and this can cause issues when submitting an app to apple. This change should remove those lines from the universal framework. It fixes https://github.com/facebook/react-native/issues/35863 [Internal] - Remove dSYM path from Info.plist Reviewed By: cortinico Differential Revision: D62603425 fbshipit-source-id: 038ec3d6b056a3d6f5585c8125d0430f56f11bb9
-
Andrew Knapp authored
Summary: When not drawing a border, the mGapBetweenPaths adjustment can create noticable pixelation when drawing curves through a low number of pixels. This is noticable mostly on buttons and such on low-dpi devices. This fix only applies the fix if clipping for the border radius is done. When drawing small radius rounded backgrounds (e.g. to draw a circle or button) we see visible pixelation (see [GH-41226](https://github.com/facebook/react-native/issues/41226)) This is particularly noticable on low DPI devices. [ANDROID] [FIXED] - Don't use mGapBetweenPaths if not drawing a border Pull Request resolved: https://github.com/facebook/react-native/pull/46239 Test Plan: Built an android app that directly uses CSSBackgroundDrawable to draw a background and verified repro of this issue.  Then modified the code according to this PR and verified that anti-aliasing is appropriately applied  Reviewed By: NickGerleman Differential Revision: D61925281 Pulled By: jorge-cab fbshipit-source-id: 93014629d031bd0d716cd3bb11e2c294dedad639
-
Nicola Corti authored
[0.74] RGNP - Remove unnecessary dependency on `gradle-tooling-api-builders` - serviceOf failure (#46367)
-
Zhi Zhou authored
Summary: Our app is using the react-native v0.74.2 with the `react-navigation` lib for screen navigation, we're facing an issue in the built iOS app that when we try to navigate to a new app screen with the `react-navigation`'s `reset` or `replace` method and meanwhile there's a react native modal displaying, then the iOS app always crashes. I saw there is already a relevant [PR](https://github.com/facebook/react-native/pull/38491) and discussion targeting this issue, but I still think it would be better if this kind of crash can be suppressed in the framework level, currently I guess it's common in the iOS apps based on react native. ## Changelog: [IOS] [FIXED] - app crash happening when navigate to a new app screen with a displaying modal Pull Request resolved: https://github.com/facebook/react-native/pull/45313 Test Plan: More issue details and the reproduction steps can be found in this [PR](https://github.com/facebook/react-native/pull/38491) :) Reviewed By: christophpurrer Differential Revision: D61537167 Pulled By: cipolleschi fbshipit-source-id: 3c0474d794b4216ebc073dd6558d2b6ae27492d2
-
zhongwuzw authored
Summary: Fixes https://github.com/facebook/react-native/issues/46568 . cc cipolleschi ## Changelog: [IOS] [FIXED] - Fabric: Fixes animations strict weak ordering sorted check failed Pull Request resolved: https://github.com/facebook/react-native/pull/46582 Test Plan: See issue in https://github.com/facebook/react-native/issues/46568 ## Repro steps - Install Xcode 16.0 - navigate to react-native-github - yarn install - cd packages/rn-tester - bundle install - RCT_NEW_ARCH_ENABLED=1 bundle exec pod install open RNTesterPods.xcworkspace to open Xcode {F1885373361} Testing with Reproducer from OSS | Paper | Fabric (With Fix) | |--------|-----------------| | {F1885395747} | {F1885395870} | Android - LayoutAnimation (Looks like it has been broken and not working way before this changes.) https://pxl.cl/5DGVv Reviewed By: cipolleschi Differential Revision: D63399017 Pulled By: realsoelynn fbshipit-source-id: aaf4ac2884ccca2da7e90a52a8ef10df6ae4fc8a
-
- Oct 02, 2024
-
- Sep 30, 2024
-
-
Tommy Nguyen authored
-
Nicola Corti authored
[0.74] Add support for handling `com.facebook.react.bridge.Dynamic` as parameter for TurboModules (#46067) resolved: https://github.com/facebook/react-native/pull/45944
-
Blake Friedman authored
-
Tomasz Żelawski authored
Summary: Currently readonly arrays aren't allowed in components' style, but readonly objects are accepted. This becomes evident in such case: ```ts import { View } from 'react-native'; interface AppProps { transform: readonly ({ translateX: number } | { translateY: number })[]; shadowOffset: Readonly<{ width: number; height: number }>; } export default function App({ transform, shadowOffset }: AppProps) { return ( <> {/* TypeScript error with transform */} <View style={{ transform }} /> {/* No errors with shadowOffset */} <View style={{ shadowOffset }} /> </> ); } ``` ## Changelog: [GENERAL] [FIXED] - Allow readonly array type for transform property Pull Request resolved: https://github.com/facebook/react-native/pull/46310 Test Plan: `yarn test-typescript` I added relevant tests cases. Reviewed By: robhogan Differential Revision: D62140462 Pulled By: NickGerleman fbshipit-source-id: 87374b0901ebc40cab48d442b61fe7a65711bc89
-
- Aug 05, 2024
-
-
Pieter De Baets authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44479 TextInputs' onTextInput callback was removed way back in React Native 0.62 with https://github.com/facebook/react-native/commit/3f7e0a2c9601fc186f25bfd794cd0008ac3983ab , but remnants of the implementation exists. We first have to remove the event emitting in native code, and can land the full removal separately in D57092733, once there's no older client references remaining to this event. Changelog: [General][Removed] Remove deprecated onTextInput callback Reviewed By: cipolleschi Differential Revision: D57092734 fbshipit-source-id: 5b0beee3d55b70717216fe8ceaf52444540f5adc
-
Riccardo Cipolleschi authored
- Jul 30, 2024
-
- Jul 29, 2024
-
-
Nicola Corti authored
-
CHEN Xian-an authored
Summary: Errors occurred on running `pod install`: ``` [!] An error occurred while processing the post-install hook of the Podfile. undefined method `symbol_type' for #<Xcodeproj::Project::Object::PBXAggregateTarget:0x000000010f6ea568> [redact]/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:53:in `block in get_application_targets' ``` ## Changelog: [iOS] [Fixed] - Fix error on handling privacy manifest Pull Request resolved: https://github.com/facebook/react-native/pull/45591 Reviewed By: cipolleschi Differential Revision: D60107607 Pulled By: dmytrorykun fbshipit-source-id: 316220fe54174b18c9b61775f807d5d05d9f0240
-
- Jul 23, 2024
-
-
Riccardo Cipolleschi authored
-
- Jul 22, 2024
-
-
Riccardo Cipolleschi authored
-
Riccardo Cipolleschi authored
-
Riccardo Cipolleschi authored
-
Riccardo Cipolleschi authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45374 This change factors out the language standard in a separate constant so we can easily control it from a single place. There are only 2 exception to this: 1. hermes-engine: the podspec is used in CI and it has no access to the rct_cxx_language_standard variable 2. Yoga: it can be used as a separate pod, outside of React Native, so it makes sense to leave it alone. This change also fixes a problem where, in some setup, the language was set to C++14 [Internal] - Refactor Cxx language standard in a single constant Reviewed By: dmytrorykun, blakef Differential Revision: D59629061 fbshipit-source-id: 41eac64e47c14e239d8ee78bd88ea30af244d695
-
Oskar Kwaśniewski authored
Summary: As discussed with cipolleschi offline, this PR adds visionOS to the prebuilt Hermes binary for the CI. [IOS] [ADDED] - Prebuilt version of Hermes for visionOS Pull Request resolved: https://github.com/facebook/react-native/pull/44691 Test Plan: Check if CI builds xcframework for visionOS. Reviewed By: cortinico Differential Revision: D58189271 Pulled By: cipolleschi fbshipit-source-id: dc76746b2c1e22670bef4c21411a598e43dad577
-
Douglas Lowder authored
Summary: In Node 20, the script to run unit tests in CI (`scripts/run-ci-javascript-tests.js`) will fail, even when all the Jest tests pass. This happens because one of the JS modules being tested is setting `process.exitCode` (see https://github.com/jestjs/jest/issues/9324#issuecomment-1808090455). Changes: - Modified the affected module to throw an exception when failing, instead of setting the exit code - Adjusted the unit test for that module ## Changelog: [General] [Fixed] - Remove setting of process.exitCode that breaks Jest tests Pull Request resolved: https://github.com/facebook/react-native/pull/45562 Test Plan: Before this change, running `node scripts/run-ci-javascript-tests.js` would fail with Node 20. After this change, it succeeds. Reviewed By: blakef Differential Revision: D60033582 Pulled By: cipolleschi fbshipit-source-id: 71b7f4495d414e719a9bd2d892bd1bc3045ddd5d
-
nik910 authored
Summary: Added space to $(inherited) string to avoid creation of wrong cpp flags in RCTAppDelegate podspec <img width="1157" alt="Screenshot 2024-07-18 at 8 51 19 PM" src="https://github.com/user-attachments/assets/29d32d08-e81f-4c25-b8ee-5dccc0f620ea"> ## Changelog: [IOS] [FIXED] - Building of iOS project when RCTAppDelegate is used in the project Pull Request resolved: https://github.com/facebook/react-native/pull/45520 Test Plan: To test this you can simply change in your node modules and run pod install, the build will now work successfully Reviewed By: cipolleschi Differential Revision: D59950906 Pulled By: arushikesarwani94 fbshipit-source-id: 0d58620aa0be7ac4fcbcd309f06df0eef7844016
-
Blake Friedman authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44097 There are two places where we use a feature specific to the system version of 'cp', the: -X Do not copy Extended Attributes (EAs) or resource forks. This feature isn't available in GNU's cp, which is commonly installed on macOS using: brew install coreutils && brew link coreutils We can avoid the problem alltogether by being specific about the path of the system cp. Changelog: [General][Fixed] don't break script phase and codegen when coreutils installed on macOS Reviewed By: cipolleschi Differential Revision: D56143216 fbshipit-source-id: f1c1ef9ea2f01614d6d89c4e9eedf43113deb80c
-
Riccardo Cipolleschi authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43333 This change fixes https://github.com/facebook/react-native/issues/43285. Basically, when using a `yarn` alias to install pods, yarn creates a copy of the `node` and `yarn` executables and the `command -v node` command will return the path to that executable. ## Changelog [iOS][Fixed] - Do not use temporary node when creating the .xcode.env.local Reviewed By: dmytrorykun Differential Revision: D54542774 fbshipit-source-id: 3ab0d0bb441988026feff9d5390dcfd10869a1b5
-
Riccardo Cipolleschi authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45329 Thanks to [#45232](https://github.com/facebook/react-native/issues/45232) we found a bug in the interop layer, where we were not passing the BridgeProxy in bridgeless mode to the view managers. This Change should fix that issue. ## Changelog: [iOS][Fixed] - Make sure to pass the RCTBridgeProxy to ViewManagers Reviewed By: dmytrorykun Differential Revision: D59468292 fbshipit-source-id: 00666be21385a735878eb567c4b8a0986c609c5f
-
Irfanwani authored
fix: post install error in iOS after running pod install, `undefined method 'path' for nil:NilClass` (#45095) Summary: After upgrading my project to the latest version of react native i.e, 0.74.2, i was getting an error when running `pod install` an the error was coming from the post install hook. Going deeper into the file tree, i found that some of the things are Nil and react native is trying to use some methods on them, so fixed those issues by using chaining operators to conditionally apply the path method on them. ## Changelog: [Internal] - fixes the post install issue when running pod install with react native version, 0.74.2 Pull Request resolved: https://github.com/facebook/react-native/pull/45095 Test Plan: Manually tested the fix. Works perfectly fine in both debug and production mode. Reviewed By: cortinico Differential Revision: D58863666 Pulled By: cipolleschi fbshipit-source-id: 64459711dcf926b7544b99b542e9861c1c0f05ca
-
Håkon Knutzen authored
Summary: In order to fix the data races described in https://github.com/facebook/react-native/issues/44715, I propose a simple solution by leveraging shared counter functions wherein `std::atomic` is the backing for the integer values. ## Changelog: [iOS] [Fixed] - Implement shared atomic counters and replace static integers in `RCTImageLoader` and `RCTNetworkTask` that were accessed concurrently, which in some cases lead to data races. Pull Request resolved: https://github.com/facebook/react-native/pull/45114 Test Plan: Added unit tests for the counters in `RCTSharedCounterTests`. Reviewed By: cipolleschi Differential Revision: D59155076 Pulled By: javache fbshipit-source-id: f73afce6a816ad3226ed8c123cb2ccf4183549a0
-
- Jul 02, 2024
-
- Jul 01, 2024
-
-
Thibault Malbranche authored
-
Rubén Norte authored
Back out "Revert D58459930: [react-native][PR] Add ReactMarkerConstants.CONTENT_APPEARED support on Android" Summary: Changelog: [ANDROID] [ADDED] - Add the ReactMarkerConstants.CONTENT_APPEARED support on Android in bridgeless mode. This re-applies https://github.com/facebook/react-native/pull/43620 which was reverted because a CI job started failing because we forgot to update `packages/react-native/ReactAndroid/api/ReactAndroid.api`. Reviewed By: cortinico Differential Revision: D58535868 fbshipit-source-id: 9eec33c5e798850a7434a6c391abf2fc3fc9d0a6
-
Dmitry Rykun authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45165 This is a fix for https://github.com/facebook/react-native/issues/45112 This diff changes the codegen so that the output path is computed relative to project root (or `path` if provided) instead of current working directory. Changelog: [General][Fixed] - Codegen computes output path relative to project root instead of current working directory. Reviewed By: fkgozali Differential Revision: D59009821 fbshipit-source-id: 3a138a3508fc239c8600b8c9f242f1c665f8e3c0
-
Nicola Corti authored
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45087 Original commit changeset: 32b3bbdf5fd2 Fixes https://github.com/facebook/react-native/issues/44963 Closes https://github.com/facebook/react-native/pull/45024 Original Phabricator Diff: D52420921 Changelog: [Internal] [Changed] - Back out "[RN][Codegen]Add Float and Int type support for Android modules" Reviewed By: dmytrorykun Differential Revision: D58820544 fbshipit-source-id: 59cd0e7cc17a681785c57b5ce1a9d50d28a348af
-
Riccardo Cipolleschi authored
* [Hermes] Bump Hermes * Implement queueMicrotask and drainMicrotasks in JSC Summary: Changelog: [internal] ## Context We want to enable the new React Native event loop by default for all users on the new RN architecture (on the bridgeless initialization path more concretely), which requires support for microtasks in all the JS engines that the support (Hermes already has it, JSC doesn't). ## Changes This adds initial support for microtasks in JSC, so we can schedule and execute microtasks in this runtime. One limitation about this approach is that, AFAIK, the public API for JSC doesn't allow us to customize its internal microtask queue or specify the method to be used by its built-in `Promise` or native `async function`, so we're forced to continue using a polyfill in that case (which uses `setImmediate` that will be mapped to `queueMicrotask`). Reviewed By: NickGerleman Differential Revision: D54302534 fbshipit-source-id: 47f71620344a81bc6624917f77452106ffbf55a3 --------- Co-authored-by:
Rubén Norte <rubennorte@meta.com>
-
- Jun 28, 2024
-
-
Riccardo Cipolleschi authored
[CI] Disable unit tests as they are Flaky on M1 machines ## Summary Disable unit tests on iOS because they are flaky on M1 machines ## Changelog: [Internal] - Disable unit tests in CI ## Test Plan: Circle CI is Green
-
Riccardo Cipolleschi authored
-