Commit Graph

12270 Commits

Author SHA1 Message Date
David Vacca 614afb5983 Reduce visibility of PerformanceCounter (#39746)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39746

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of PerformanceCounter

Reviewed By: arushikesarwani94

Differential Revision: D49803283

fbshipit-source-id: 46d041f632f06a98392f4a67c839266010a1c68d
2023-10-01 18:02:16 -07:00
David Vacca e46372ffa4 Reduce visibility of NativeArrayInterface (#39744)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39744

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of NativeArrayInterface

Reviewed By: arushikesarwani94

Differential Revision: D49803296

fbshipit-source-id: b0065d3df8ef5f20b71f66caf45856440dd61d80
2023-10-01 18:02:16 -07:00
David Vacca 970ea5e476 Reduce visibility of NativeArgumentsParseException (#39736)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39736

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of NativeArgumentsParseException

Reviewed By: RSNara

Differential Revision: D49752145

fbshipit-source-id: 0ceb560a9be7d162b6856d90f57f6bda3888c6e7
2023-10-01 18:02:16 -07:00
David Vacca d224816ed1 Reduce visibility of JSInstance (#39738)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39738

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of JSInstance

Reviewed By: RSNara

Differential Revision: D49752139

fbshipit-source-id: b56667a91abd16d15a321dfc3e83026b596eaad3
2023-10-01 18:02:16 -07:00
David Vacca e3e9b1388f Reduce visibility of JSIModuleRegistry. (#39740)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39740

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of JSIModuleRegistry.

Reviewed By: RSNara

Differential Revision: D49752138

fbshipit-source-id: 9878a3c2c431a2a84d4985812605032ed0d2d2d8
2023-10-01 18:02:16 -07:00
David Vacca 9ba05493b8 Reduce visibility of JSIModuleHolder (#39741)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39741

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of JSIModuleHolder

Reviewed By: RSNara

Differential Revision: D49752136

fbshipit-source-id: a2b525e6fe18f2ceabbe8775d6841807d73cdc86
2023-10-01 18:02:16 -07:00
David Vacca 11d51fe395 Reduce visibility of JSCJavaScriptExecutorFactory (#39737)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39737

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of JSCJavaScriptExecutorFactory

Reviewed By: RSNara

Differential Revision: D49752141

fbshipit-source-id: 77039a3b4c3d12f3c98e3659518e9ef10c66a29e
2023-10-01 18:02:16 -07:00
David Vacca 7a5824b416 Reduce visibility of DynamicFromMap (#39739)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39739

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of DynamicFromMap

Reviewed By: RSNara

Differential Revision: D49752137

fbshipit-source-id: 6bc8623ca1a8479401b4d8314916f968d708f40c
2023-10-01 18:02:16 -07:00
David Vacca d6cd496c44 Reduce visibility of DynamicFromArray (#39735)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39735

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of DynamicFromArray

Reviewed By: RSNara

Differential Revision: D49752134

fbshipit-source-id: 818a2cb0f4cafaad9c13c9b623505f32fb1ebcfe
2023-10-01 18:02:16 -07:00
David Vacca 294c0fa208 Deprecate CompositeReactPackage (#39565)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39565

CompositeReactPackage is not used at Meta neither in github public repositories, we are deprecating it in v0.73 with the goal to remove it in v0.74

changelog: [Android][Breaking] Deprecate CompositeReactPackage from RN Android

Reviewed By: christophpurrer

Differential Revision: D49440130

fbshipit-source-id: 6a9c220f57fd29f7a530db79c4f76ef169744fba
2023-10-01 15:38:07 -07:00
David Vacca 5d386b795e Reduce visibility of DecayAnimation (#39726)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39726

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of DecayAnimation

Reviewed By: javache, RSNara

Differential Revision: D49752144

fbshipit-source-id: 94b69f3f2d780aff55f0dbcf030d15199b703abd
2023-09-30 22:12:29 -07:00
David Vacca 5bbc89e4be Reduce visibility of AnimatedNodeWithUpdateableConfig (#39730)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39730

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of AnimatedNodeWithUpdateableConfig

Reviewed By: RSNara

Differential Revision: D49752143

fbshipit-source-id: 023fb7657d922b2bd7ad8e12640e67bc82c96185
2023-09-30 22:12:29 -07:00
David Vacca f202d1b44b Reduce visibility of AnimatedNodeValueListener (#39727)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39727

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of AnimatedNodeValueListener

Reviewed By: RSNara

Differential Revision: D49752131

fbshipit-source-id: 153cf0cb97ceadfd4c6acde1e1b51d4243eb5df6
2023-09-30 22:12:29 -07:00
David Vacca 7e00f536b3 Reduce visibility of ReactPackageHelper (#39728)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39728

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of ReactPackageHelper

Reviewed By: RSNara

Differential Revision: D49752142

fbshipit-source-id: d21812609a946faf2f9183993f28192dda34e132
2023-09-30 22:12:29 -07:00
David Vacca c7564c76f3 Reduce visibility of ReactTextInputKeyPressEvent (#39729)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39729

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of ReactTextInputKeyPressEvent

Reviewed By: RSNara

Differential Revision: D49752135

fbshipit-source-id: 0d00d6558c3e259977c26a53cbb8fe7c5ae6235d
2023-09-30 22:12:29 -07:00
David Vacca 93b1dc9633 Reduce visibility of ReactAndroidHWInputDeviceHelper (#39731)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39731

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of ReactAndroidHWInputDeviceHelper

Reviewed By: RSNara

Differential Revision: D49752132

fbshipit-source-id: 3eadc01f05f5ce49b4019fa8c3dafe8d5f5fc1f3
2023-09-30 22:12:29 -07:00
David Vacca 78097648d3 Reduce visibility of EagerModuleProvider (#39732)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39732

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of EagerModuleProvider

Reviewed By: RSNara

Differential Revision: D49752133

fbshipit-source-id: 3d24d471753bbf3857ecf6105a95f90305ac492d
2023-09-30 22:12:29 -07:00
David Vacca aad82f5032 Reduce visibility of CanvasUtil (#39725)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39725

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of CanvasUtil

Reviewed By: RSNara

Differential Revision: D49752146

fbshipit-source-id: 26fbcd20b7a9db52043978ca86879c6f6cd7a8db
2023-09-30 22:12:29 -07:00
Nick Gerleman aa65e92121 Fix handling of negative flex gap (#39596)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39596

X-link: https://github.com/facebook/yoga/pull/1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 069db7312f72a085c5c4b01ead7bc66a353a07e5
2023-09-30 21:09:13 -07:00
Sunbreak df492cc4e4 Remove unused handwritten ScrollViewViewConfig.js (#39655)
Summary:
`ScrollViewViewConfig.js` has been unused since [RN: Migrate ScrollView to NativeComponentRegistry](https://github.com/facebook/react-native/commit/00e623ddbb61c1af4c6384f5f3d4e07429b53953)

> Given to https://github.com/microsoft/react-native-windows/issues/5430#issuecomment-1730894471 `react-native/babel-plugin-codegen` has been part of `react-native/babel-preset`, it is safe to remove handwritten `ScrollViewViewConfig.js`

## Changelog:

[INTERNAL] [REMOVED] - Remove unused handwritten ScrollViewViewConfig.js

Pull Request resolved: https://github.com/facebook/react-native/pull/39655

Test Plan: None

Reviewed By: yungsters

Differential Revision: D49774632

Pulled By: dmytrorykun

fbshipit-source-id: a436d98f14d1e83f057a2ea4e96a527e759b80f1
2023-09-30 11:00:11 -07:00
David Vacca 6635474e34 Reduce visibility of LongStreamingStats (#39705)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39705

Reduce visibility of LongStreamingStats

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D49656386

fbshipit-source-id: 763afa27353b2a6c127e0997444fd663bddfa886
2023-09-29 12:11:24 -07:00
David Vacca cb46f4cff8 Remove support for Android API < 23 in ReactViewManager (#39678)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39678

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactViewManager

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactViewManager

Reviewed By: NickGerleman

Differential Revision: D48545513

fbshipit-source-id: fba0212cc832b6b309ae0bfb45c0e08bf79bd5d1
2023-09-29 12:11:24 -07:00
David Vacca 120aab2e99 Remove support for Android API < 23 in ReactDrawableHelper (#39667)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39667

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactDrawableHelper

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactDrawableHelper

Reviewed By: NickGerleman

Differential Revision: D48545508

fbshipit-source-id: df15ad8dcf0ec94abd8291b8cb180be18771809d
2023-09-29 12:11:24 -07:00
David Vacca dc3fc16ce5 Remove support for Android API < 23 in ReactTextInputShadowNode (#39686)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39686

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactTextInputShadowNode

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactTextInputShadowNode

Reviewed By: NickGerleman

Differential Revision: D48545503

fbshipit-source-id: f3b4fb696c3abf1f20ab00a89e786b3787c1b0e9
2023-09-29 12:11:24 -07:00
David Vacca b968cb6f97 Remove support for Android API < 23 in ReactTextInputLocalData (#39670)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39670

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactTextInputLocalData

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactTextInputLocalData

Reviewed By: NickGerleman

Differential Revision: D48545510

fbshipit-source-id: 8601a30a58d0e74c51b7d5dc8cec9e92e65344d8
2023-09-29 12:11:24 -07:00
David Vacca 1904e8036a Remove support for Android API < 23 in ReactEditText (#39671)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39671

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactEditText

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactEditText

Reviewed By: NickGerleman

Differential Revision: D48545507

fbshipit-source-id: 98be52ba36248962864e99e80ff648bbb351ff61
2023-09-29 12:11:24 -07:00
David Vacca c35dcb3c04 Remove support for Android API < 23 in TextLayoutManagerMapBuffer (#39677)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39677

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class TextLayoutManagerMapBuffer

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in TextLayoutManagerMapBuffer

Reviewed By: NickGerleman

Differential Revision: D48545518

fbshipit-source-id: fe64730c40ddf42aab0a7f5a19e51eecea4c4bcd
2023-09-29 12:11:24 -07:00
David Vacca 4a563f30d2 Remove support for Android API < 23 in TextLayoutManager (#39679)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39679

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class TextLayoutManager

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in TextLayoutManager

Reviewed By: NickGerleman

Differential Revision: D48545502

fbshipit-source-id: b478013bfaf71264a1009669a10d9e8dfb396802
2023-09-29 12:11:24 -07:00
David Vacca 9454587316 Remove support for Android API < 23 in TextAttributeProps (#39674)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39674

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class TextAttributeProps

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in TextAttributeProps

Reviewed By: NickGerleman

Differential Revision: D48545514

fbshipit-source-id: 38e5560fdb24f1807abc6f458b882d1a5d6d051c
2023-09-29 12:11:24 -07:00
David Vacca 31e16ee90c Remove support for Android API < 23 in ReactTextView (#39666)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39666

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactTextView

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactTextView

Reviewed By: NickGerleman

Differential Revision: D48545504

fbshipit-source-id: a37d8532f879ff32626b256c9c1386d04e27cbcd
2023-09-29 12:11:24 -07:00
David Vacca 07e885232b Remove support for Android API < 23 in ReactTextShadowNode (#39675)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39675

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactTextShadowNode

bypass-github-export-checks

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactTextShadowNode

Reviewed By: NickGerleman

Differential Revision: D48545511

fbshipit-source-id: c0462ee72746be73bb3acdf0c2336353e65da57a
2023-09-29 12:11:24 -07:00
Riccardo Cipolleschi 63884b4888 Update Xcode 15 patches to be more robust (#39710)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39710

Last week Apple released Xcode 15, which required us to ship a workaround for the new linker.
Unfortunately, the previous fix was not good enough and there were some edge cases that were not covered.
For example, in some occasions the flags are read as an array and the `-Wl` and the `-ld_classic` flags were separated and not properly removed when moving from Xcode 15 to Xcpde 14.3.1.

This change fixes those edge cases, with a more robust solution where:
- We convert the flags to a string.
- We trim the string and the values properly.
- We add the flags when running `pod install` with Xcode 15 as the default iOS toolchain.
- We remove the flags when running `pod install` with Xcode <15 as the default iOS toolchain.

## Changelog:
[Internal] - Make the Xcode 15 workaround more robust.

Reviewed By: dmytrorykun

Differential Revision: D49748844

fbshipit-source-id: 34976d148f123c5aacba6487a500874bb938fe99
2023-09-29 10:22:36 -07:00
Nick Gerleman 5be6f49942 C++ style enums 16/N: Dimension (#39598)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39598

X-link: https://github.com/facebook/yoga/pull/1403

Replaces all usages of YGDimension with Dimension.

Adds `yoga::to_underlying` to act like `std::to_underlying`, added in C++ 23.

This enum is oddly only used internally, and is never an input to the public API, but it handled as any other public generated enum. Potentially some more cleanup to do there.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D49475409

fbshipit-source-id: 7d4c31e8a84485baea0dab50b5cf16b86769fa07
2023-09-29 00:06:34 -07:00
Mateusz e21b3c8296 This fix improving logging during running e2e tests. (#39466)
Summary:
Motivation was to improve logging for RNTester e2e tests.

## Changelog:

[INTERNAL] - Add logging.

Pull Request resolved: https://github.com/facebook/react-native/pull/39466

Test Plan: Check logs during 2e automation is running.

Reviewed By: NickGerleman

Differential Revision: D49499233

Pulled By: cipolleschi

fbshipit-source-id: c803fa9227995ed3862b6a919a7590f80e2afc08
2023-09-28 20:18:25 -07:00
James Maxell Eroy 8e36cc0293 Add onPress prop (#39701)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39701

TextInput already uses Pressability, but doesn't expose the onPress prop. Link:https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Components/TextInput/TextInput.js#L1381-L1414.

Currently TextInput only exposes the onPressIn() and onPressOut() props from Pressability. While onPressOut() can serve the same purpose as onPress() in most cases, it doesn't fare well with PanResponder...say a swipe gesture implemented using PanResponder.

When the pointer/cursor exits the hit test bounds of TextInput, onPressOut() will be triggered even though the desired behavior could be that we only want to invoke the event handler when the user lifts their finger from the screen (while still in the hit test bounds of the TextInput).

Example of TextInput in a PanResponder:
https://snack.expo.dev/jambalaya/panresponder

Changelog: [General][Added] Add onPress prop to TextInput

Reviewed By: NickGerleman

Differential Revision: D49653011

fbshipit-source-id: 28477416c6c0f17a0737986cab49e51a55094ba7
2023-09-28 10:00:38 -07:00
David Vacca b138a4f72d Remove support for Android API < 23 in ReactTextAnchorViewManager (#39676)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39676

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactTextAnchorViewManager

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactTextAnchorViewManager

Reviewed By: NickGerleman

Differential Revision: D48545519

fbshipit-source-id: 4eca438fa9b33314c495f2181559c8f0ce6fd93f
2023-09-27 20:24:37 -07:00
David Vacca 0505f5c28c Remove support for Android API < 23 in ReactBaseTextShadowNode (#39665)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39665

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactBaseTextShadowNode

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactBaseTextShadowNode

Reviewed By: NickGerleman

Differential Revision: D48545509

fbshipit-source-id: 2bd1c74251c8af92013b065daafbab3d96a05a2e
2023-09-27 20:24:37 -07:00
Intl Scheduler 0b1fcfb301 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907941692284
Sandcastle Job Instance ID: 4503600687598755
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D49712798

fbshipit-source-id: 45f86724c50bec77a72f0b7f093be7eb55ee852d
2023-09-27 17:06:11 -07:00
Nick Gerleman 596dfcc44c Remove dead code for Android onLayout events (#39645)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39645

Removes some dead code related to emitting OnLayout evennts in Paper.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D49626884

fbshipit-source-id: c02f3345f0f50be00aa09630410a5ac55ab30773
2023-09-27 15:54:04 -07:00
Mike Hardy fa87eaaebf chore: fix grammar in Xcode 15 helper method name (#39658)
Summary:
Thanks for working through Xcode 15 compatibility issues!

I reviewed the diff of the PR (https://github.com/facebook/react-native/issues/39474) that altered Xcode 15 settings for react-native release 0.72.5 and I noticed that

- everything looked great (worth saying)
- there was a grammatical error in another of the method names

Trivial errors but, as long as I was in there, thought I'd submit a PR

## Changelog:

[IOS] [FIXED] - fix grammar in Xcode 15 helper method name

Pull Request resolved: https://github.com/facebook/react-native/pull/39658

Test Plan: CI should catch it of course, but in general I did a full grep for the name and changed everything / typical method name refactor

Reviewed By: cortinico

Differential Revision: D49641551

Pulled By: cipolleschi

fbshipit-source-id: d77d33bbd6941f039dd30766e1308d5c4c4a6ca8
2023-09-27 14:50:09 -07:00
David Vacca 6eb4f1e997 Remove support for Android API < 23 in StatusBarModule (#39669)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39669

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class StatusBarModule

changelog: [Android][Breaking] Remove support for Android API < 23 in StatusBarModule

Reviewed By: NickGerleman

Differential Revision: D48545516

fbshipit-source-id: ff79ac0d515b9a731c1c4ed861a73ce7998cb7f8
2023-09-27 13:10:31 -07:00
David Vacca 0384e3cf1f Remove support for Android API < 23 in PermissionsModule (#39680)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39680

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class PermissionsModule

changelog: [Android][Breaking] Remove support for Android API < 23 in PermissionsModule

Reviewed By: NickGerleman

Differential Revision: D48545517

fbshipit-source-id: 1ead079689aee5fd42d2b0bc530b7f69780938ff
2023-09-27 13:10:31 -07:00
David Vacca 52ec1d87e9 Remove support for Android API < 23 in RequestBodyUtil (#39672)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39672

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class RequestBodyUtil

changelog: [Android][Breaking] Remove support for Android API < 23 in RequestBodyUtil

Reviewed By: NickGerleman

Differential Revision: D48545515

fbshipit-source-id: 8cc82a234cdb37304ad0d383ad57a7ce0de50a0e
2023-09-27 13:10:31 -07:00
David Vacca c359a44676 Remove support for Android API < 23 in WindowOverlayCompat (#39673)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39673

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class WindowOverlayCompat

changelog: [Android][Breaking] Remove support for Android API < 23 in WindowOverlayCompat

Reviewed By: NickGerleman

Differential Revision: D48545505

fbshipit-source-id: 51246bbe5c78efc3cf7d3f1cf0a4ab31cb9c0b5c
2023-09-27 13:10:31 -07:00
David Vacca 2286c123b7 Remove support for Android API < 23 in DebugOverlayController (#39664)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39664

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class DebugOverlayController

changelog: [Android][Breaking] Remove support for Android API < 23 in DebugOverlayController

Reviewed By: NickGerleman

Differential Revision: D48545520

fbshipit-source-id: 3a1140a46310c617610ff1e0c40b02427357087a
2023-09-27 13:10:31 -07:00
David Vacca 414b25b125 Remove support for Android API < 23 in ReactFragment (#39668)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39668

Since minsdk version was increased to 23, we are deleting code using Android APIs < 23 for class ReactFragment

changelog: [Android][Breaking] Remove support for Android API < 23 in ReactFragment

Reviewed By: NickGerleman

Differential Revision: D48545506

fbshipit-source-id: 9b5e335eae8ca11aac580c14c31431ca87eb11a2
2023-09-27 13:10:31 -07:00
David Vacca 3664b8aa22 Remove usage of Android API <23 in ReactActivityDelegate (#39663)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39663

Since minSDK was bumped to Android API 23 we are removing support of code using Android API <23 in

changelog: [Android][Breaking] Remove support for Android API < 23 in

Reviewed By: NickGerleman

Differential Revision: D48545501

fbshipit-source-id: fa0dd69c3506e80eb1a4353d497b911b5d43c8c8
2023-09-27 13:10:31 -07:00
David Vacca 70fcb1ebf6 Bump minSdk to 23 in RN OSS (#38874)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38874

In this diff I'm increasing the minSdk of RN Android to 23 to keep it in sync with Meta min sdk

changelog: [Android][Breaking] Increase min sdk version of RN Android to 23

Reviewed By: fkgozali, NickGerleman

Differential Revision: D48177965

fbshipit-source-id: 79f46f6e1674fe9d38dc9dfbe8f0f9a43f39a712
2023-09-27 13:10:31 -07:00
Ramanpreet Nara 271ce7edbc Fix and re-introduce interop test (#39690)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39690

This diff re-introduces the test for the TurboModule interop layer.

This test was originally reverted in D49200360, because it was broken.

***New:*** This test runs in Bridgeless mode, with the interop layer enabled. (Catalyst is now native mobileconfig ready).

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D49208528

fbshipit-source-id: 3109d7826e7024fd7a1074321d4aab8f3a489609
2023-09-27 10:18:50 -07:00
Dmitry Rykun 0d3854c6c3 Export Commands and Constants only if native view config interop is enabled (#39696)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39696

`Commands` and `Constants` should be set in native only if component data is instantiated via native view config interop layer.
Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D49684166

fbshipit-source-id: ceaa29c2ed3336aa6e21a116a3f5f94e03c225c1
2023-09-27 10:05:33 -07:00