Commit Graph

28076 Commits

Author SHA1 Message Date
Samuel Susla ede86a3c0c Create a pod for renderer debug module (#37620)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37620

changelog: [internal]

To better align cocoapods structure with BUCK structure internally, we need render debug module to be a seaparate pod. This diff does that.

Reviewed By: cortinico, cipolleschi

Differential Revision: D46275529

fbshipit-source-id: d4402f264608e3297c232fcaa4fdc3df88551a65
2023-06-22 07:40:16 -07:00
Lorenzo Sciandra 0daf9e19d1 split the changelog into decades (#38017)
Summary:
Well, looks like we've hit a GH limit 🤣

<img width="1272" alt="Screenshot 2023-06-22 at 10 32 19" src="https://github.com/facebook/react-native/assets/16104054/d1901d7c-a06b-4dae-9ec4-1846dc458eb1">

This PR splits the changelog into (for lack of better term) decades:

* lower than 0.60 (turns out we only started having proper changelogs in the mid 0.50-ish)
* 60->69
* 70+

This also works well because anything lower than 0.70 is now in the unsupported range.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] [Changed] - split the changelog into decades

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

Test Plan: N/A

Reviewed By: GijsWeterings

Differential Revision: D46932308

Pulled By: cipolleschi

fbshipit-source-id: f384d24cdf73c932b0b560919ac732bd993e93da
2023-06-22 04:19:40 -07:00
Abdennour JEBBAR 8ddb334bb0 Convert BaseJavaModuleTest to Kotlin (#37822)
Summary:
As part of the effort to Kotlin-fy React Native tests, I've converted [BaseJavaModuleTest](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/bridge/BaseJavaModuleTest.java) to Kotlin.

## Changelog:
[Internal] [Changed] - Convert BaseJavaModuleTest to Kotlin

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

Test Plan:
Tests pass: ./gradlew :packages:react-native:ReactAndroid:test
Formatted with [KtFmt](https://facebook.github.io/ktfmt/)

Reviewed By: cortinico

Differential Revision: D46639573

Pulled By: rshest

fbshipit-source-id: d971d3a86ad05195885b8fbed8a165ab9efa9e78
2023-06-22 02:54:59 -07:00
Moti Zilberman cd56347dca Prevent LogBox from crashing on long messages (#38005)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38005

Fixes https://github.com/facebook/react-native/issues/32093 by guarding the expensive `BABEL_CODE_FRAME_ERROR_FORMAT` regex with a cheaper initial scan. (Longer term, we should reduce our reliance on string parsing and propagate more structured errors.)

Changelog: [General][Fixed] Prevent LogBox from crashing on very long messages

Reviewed By: GijsWeterings

Differential Revision: D46892454

fbshipit-source-id: 3afadcdd75969c2589bbb06f47d1c4c1c2690abd
2023-06-22 02:09:45 -07:00
Nick Gerleman f544376f7c Revert D46871197: Add workaround for android API 33 ANR when inverting ScrollView
Differential Revision:
D46871197

Original commit changeset: 872a2ce5313f

Original Phabricator Diff: D46871197

fbshipit-source-id: d07e9e536d578f0612126bae07a83a02b5e6b792
2023-06-22 01:34:56 -07:00
Intl Scheduler 0e41ad09b0 translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907904351530
Sandcastle Job Instance ID: 980317346
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46924702

fbshipit-source-id: ad103cbe0f4c019c9b2cb9add8aac3137c53a253
2023-06-21 20:44:35 -07:00
Intl Scheduler 84d278d107 translation auto-update for i18n/pages-manager.config.json on master
Summary:
Chronos Job Instance ID: 1125907904351530
Sandcastle Job Instance ID: 980317346
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46924707

fbshipit-source-id: 473fada8057f37698c3b31d385087057dc2d38ed
2023-06-21 20:44:35 -07:00
Intl Scheduler fba5b4db59 translation auto-update for i18n/anna.config.json on master
Summary:
Chronos Job Instance ID: 1125907904351530
Sandcastle Job Instance ID: 980317346
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46924714

fbshipit-source-id: ac7eeb3a05818ff48b17a2afea1b2b9aac5c0b10
2023-06-21 20:44:35 -07:00
Intl Scheduler 7f4a972ab1 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907904351530
Sandcastle Job Instance ID: 980317346
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46924705

fbshipit-source-id: a50d017ac411fed113d63f77fbb33b23905d7dc9
2023-06-21 20:44:35 -07:00
Intl Scheduler d5e820c980 translation auto-update for i18n/barcelona.config.json on master
Summary:
Chronos Job Instance ID: 1125907904351530
Sandcastle Job Instance ID: 980317346
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46924711

fbshipit-source-id: c40725601f11f063db349c72470063c2615254d8
2023-06-21 20:44:35 -07:00
Hanno J. Gödecke 90186cd9b7 Add workaround for android API 33 ANR when inverting ScrollView (#37913)
Summary:
As explained in this issue:

- https://github.com/facebook/react-native/issues/35350

starting from android API 33 there are severe performance issues when using `scaleY: -1` on a view, and its child view, which is what we are doing when inverting the `ScrollView` component (e.g. in `FlatList`).

This PR adds a workaround. The workaround is to also scale on the X-Axis which causes a different transform matrix to be created, that doesn't cause the ANR (see the issue for details).
However, when doing that the vertical scroll bar will be on the wrong side, thus we switch the position in the native code once we detect that the list is inverted.

The goal of this PR is that react-native users can just use `<FlatList inverted={true} />` without running into any ANRs or the need to apply manual hot fixes 😄

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID] [FIXED] - ANR when having an inverted `FlatList` on android API 33+

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[ANDROID] [FIXED] - ANR when having an inverted `FlatList` on android API 33+

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

Test Plan:
- The change is minimal, and only affects android.
- Run the RNTesterApp for android and confirm that in the flatlist example the inverted list is still working as expected.

Reviewed By: rozele

Differential Revision: D46871197

Pulled By: NickGerleman

fbshipit-source-id: 872a2ce5313f16998f0e4d2804d61e4d8dca7bfd
2023-06-21 19:57:19 -07:00
David Vacca 74e6c95572 Refactor integration of BridgelessReactPackage into ReactHost (#38010)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38010

This diff refactors the integration of ReactPackages into ReactHost and ReactHostDelegate.

As part of this diff I'm also modifying ReactHostDelegate to depend on TurboModuleManagerDelegate.Builder instead of TurboModuleManagerDelegateBuilder. This is necessary to be able to create BridgelessReactPackage inside ReactInstance

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: luluwu2032

Differential Revision: D46410795

fbshipit-source-id: 221f0f5ce06b7c57410dc4d351d1a1eae29f2733
2023-06-21 19:26:40 -07:00
David Vacca c018c7bda2 Move BridgelessReactPackage to com.facebook.react package (#38013)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38013

Move BridgelessReactPackage to com.facebook.react package.
This is necessary because BridgelessReactPackage is a core package that needs to be part of RN (and should not be re-defined by all apps)
I will revisit naming in a later diff

changelog: [internal] internal

Reviewed By: fkgozali

Differential Revision: D46918732

fbshipit-source-id: c0d0dd0147a6e160189a8cfabc713c348f2499a2
2023-06-21 19:26:40 -07:00
Ramanpreet Nara a1b64b7f15 Introduce SampleLegacyModule example in RNTester (#38008)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38008

Introduce a legacy module (+ example) in RNTester.

In the future, SampleLegacyModule will be used to:
- Showcase the TurboModule interop layer in RNTester, once Bridgeless mode is ready
- E2E Test the TurboModule interop layer.

The TurboModule interop layer is just an extension to the TurboModule system that allows the system to create legacy modules. Unlike regular TurboModules, these legacy modules don't need codegen for JavaScript -> native method dispatch.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D46874160

fbshipit-source-id: f9810d0bdb3bd0c0a74099fcb6f74ca547977a53
2023-06-21 18:30:09 -07:00
Intl Scheduler 7920ae854e translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907903983344
Sandcastle Job Instance ID: 13510799859528763
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46913433

fbshipit-source-id: 0ed0541a69babfbbe516bf15fa3050696cc1f963
2023-06-21 14:26:31 -07:00
Intl Scheduler 8cd3b50ecc translation auto-update for i18n/adsmanager.config.json on master
Summary:
Chronos Job Instance ID: 1125907903983344
Sandcastle Job Instance ID: 13510799859528763
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46913417

fbshipit-source-id: 91a190711913cf9750cb430ee53a9e763d825929
2023-06-21 14:26:31 -07:00
Intl Scheduler 03b5bc29af translation auto-update for i18n/messenger.config.json on master
Summary:
Chronos Job Instance ID: 1125907903983344
Sandcastle Job Instance ID: 13510799859528763
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46913426

fbshipit-source-id: 3d13f0838deec311dc800d189de2dc3453b81317
2023-06-21 14:26:31 -07:00
Intl Scheduler 46c15c3956 translation auto-update for i18n/anna.config.json on master
Summary:
Chronos Job Instance ID: 1125907903983344
Sandcastle Job Instance ID: 13510799859528763
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46913427

fbshipit-source-id: 52d607dfa15956261627d405e61e360798ea9a96
2023-06-21 14:26:31 -07:00
Intl Scheduler 4715e043cc translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907904247194
Sandcastle Job Instance ID: 9007200230628689
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46908607

fbshipit-source-id: 6d4eea12412578ed2603adc622342894730397de
2023-06-21 12:22:03 -07:00
Lorenzo Sciandra 3fe9654b45 add 0.72.0 changelog (#36553)
Summary:
Adds changelog for new minor 0.72.0

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] [Changed] - add changelog entry for 0.72.0

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

Test Plan: N/A

Reviewed By: rshest

Differential Revision: D45778748

Pulled By: cipolleschi

fbshipit-source-id: c3cca1327db0f0d3c579137f7368a2861bb72bf7
2023-06-21 10:14:29 -07:00
Pieter De Baets 5f7c5a88a1 Undeprecated GuardedAsyncTask constructor (#37864)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37864

This was deprecated as part of bridgeless development, but since we now have `BridgelessReactContext`, which is also a `ReactContext`, this deprecation is no longer necessary.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D46685374

fbshipit-source-id: 4d13418419ac987261b1d10bd50aeb311caadc95
2023-06-21 06:26:53 -07:00
Intl Scheduler e5c824ced7 translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907903824394
Sandcastle Job Instance ID: 36028797996670317
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46894914

fbshipit-source-id: 4b1e1071b1cb277a8d187b380665980f6172e7d4
2023-06-21 04:45:13 -07:00
Intl Scheduler c8eb235bf7 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907903824394
Sandcastle Job Instance ID: 36028797996670317
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46894920

fbshipit-source-id: 7c1c4c1ef83f07b211efa745c78d00a1f6bcae36
2023-06-21 04:45:13 -07:00
Intl Scheduler 859083e963 translation auto-update for i18n/creatorstudio.config.json on master
Summary:
Chronos Job Instance ID: 1125907903824394
Sandcastle Job Instance ID: 36028797996670317
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46894916

fbshipit-source-id: 045309665f3b6b4521c16daf5658a84a88de7d5d
2023-06-21 04:45:13 -07:00
Tommy Nguyen 7a2a3278d0 fix(virtualized-lists): react-test-renderer is not a runtime dependency (#37955)
Summary:
Installing `react-native` 0.72.x causes a warning about `react-test-renderer` because `react-native/virtualized-lists` has declared a peer dependency on it. As far as I know, it is not used for anything but tests.

```
➤ YN0002: │ react-native@npm:0.72.0-rc.6 [292eb] doesn't provide react-test-renderer (p5a2fb), requested by react-native/virtualized-lists
```

Note that while many package managers default to warnings in this case, there are still a number of users out there for which this is an error.

## Changelog:

[GENERAL] [FIXED] - `react-native/virtualized-lists` does not need `react-test-renderer` at runtime

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

Test Plan: n/a

Reviewed By: rshest

Differential Revision: D46871536

Pulled By: NickGerleman

fbshipit-source-id: 1e5e15608ab394bc43cd4e6ac727a74734874642
2023-06-21 04:14:25 -07:00
Ruslan Shestopalyuk b3bb55357a Add dev mode check for direct events following naming convention (#37939)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37939

# Changelog:
[Internal] -

This addresses potential problem with inconsistent naming of direct events on Android, as we've recently found out that there are several such occasions, which can be potentially a source of errors.

Reviewed By: javache

Differential Revision: D46801798

fbshipit-source-id: 01050f53c1efa382021400e803214ae1aafff3fa
2023-06-21 01:16:24 -07:00
Intl Scheduler 15606efa18 translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907903682636
Sandcastle Job Instance ID: 13510799859062636
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46885889

fbshipit-source-id: f1688e39299d5fea527ab22f680da14ffa023ba7
2023-06-20 20:37:24 -07:00
Intl Scheduler 784e522c0f translation auto-update for i18n/anna.config.json on master
Summary:
Chronos Job Instance ID: 1125907903618839
Sandcastle Job Instance ID: 27021598739804874
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46883088

fbshipit-source-id: 788b9733459c2c7c1bc72874d4066eac13926f8b
2023-06-20 17:58:21 -07:00
Intl Scheduler 2261e34afb translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907903618839
Sandcastle Job Instance ID: 27021598739804874
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46883096

fbshipit-source-id: 59bcd9ec926450fe5d913cb9728485cadf7f90af
2023-06-20 17:58:21 -07:00
Intl Scheduler 194de0f848 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907903618839
Sandcastle Job Instance ID: 27021598739804874
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46883090

fbshipit-source-id: 549808831b33a4d290a584b50bca57cb3a484564
2023-06-20 17:58:21 -07:00
Intl Scheduler 4defe4f3e4 translation auto-update for i18n/oculus-mirage.config.json on master
Summary:
Chronos Job Instance ID: 1125907903618839
Sandcastle Job Instance ID: 27021598739804874
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46883105

fbshipit-source-id: 3084fea1e602f38259ad261f45326b7750b8a618
2023-06-20 17:58:21 -07:00
Liam Jones 8f072b438a Fix for UIApplicationDidReceiveMemoryWarningNotification not being obeyed on iOS (#37973)
Summary:
Prior to 0.69, an RN app receiving the `UIApplicationDidReceiveMemoryWarningNotification` notification resulted in RN performing a GC on the JSC. Since 0.69 this has not worked, this PR fixes the issue.

Before 0.69 this was handled via a hardcoded memory pressure level: https://github.com/facebook/react-native/blob/c5c17985dae402725abb8a3a94ccedc515428711/React/CxxBridge/RCTCxxBridge.mm#L362

(It seems like the levels are an Android concept - see https://developer.android.com/reference/android/content/ComponentCallbacks2#constants_1)

In commit https://github.com/facebook/react-native/commit/0916df99511d6918ea905c2a9df45bccc1fd332a it was changed to run from a constant which could be reconfigured but a mistake (return type of `BOOL` rather than `int`) was resulting in the intended default memory pressure level of 15 (same as the old hardcoded value) being changed to 1 when it was passed on to `handleMemoryPressure`.

## Changelog:

[IOS] [FIXED] - UIApplicationDidReceiveMemoryWarningNotification has not been obeyed on iOS since RN 0.69

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

Test Plan:
Tested manually via the Simulator using Debug -> Simulate Memory Warning and monitoring the console output of the app.

Before fix:

```
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0620 11:21:42.824463 257294336 JSIExecutor.cpp:377] Memory warning (pressure level: 1) received by JS VM, unrecognized pressure level
```

With fix (and also the same output for the latest 0.68 tag in the repo):

```
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0620 11:25:47.479444 79212544 JSIExecutor.cpp:370] Memory warning (pressure level: TRIM_MEMORY_RUNNING_CRITICAL) received by JS VM, running a GC
```

Reviewed By: javache

Differential Revision: D46857205

Pulled By: sammy-SC

fbshipit-source-id: 35121e6c4186fded6ef3ba728d9aafbc936627bb
2023-06-20 17:14:31 -07:00
Pieter De Baets c16e993bb8 Fix SurfaceMountingManager leaking views from stopped surfaces (#37964)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37964

When a Surface is stopped, we don't immediately destroy the SurfaceMountingManager but instead just tear down its internal state. This allows for better error handling (eg did this react tag ever exist, or is this non-existing tag).

The way we construct the set of tags post-deletion is flawed though: `mTagToViewState.keySet()` does not create a new Set with all the tags used, but instead uses the underlying HashMap to iterate over the keys as needed. This effectively keeps all the Views inside that deleted surface alive.

Changelog: [Android][Fixed] Surfaces in the new architecture no longer leak views once stopped

Reviewed By: sammy-SC, rshest

Differential Revision: D46840717

fbshipit-source-id: fad145e4dd21b216d1e64f5dc79900434cff1785
2023-06-20 14:20:29 -07:00
Intl Scheduler 936936ca54 translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907903608343
Sandcastle Job Instance ID: 36028797996121595
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46866714

fbshipit-source-id: 776df408f08bce6b2efe29f892b3cc3be14cdfb9
2023-06-20 11:23:02 -07:00
Nicola Corti b85adbf797 Use the correct path to upload apk from android template jobs (#37977)
Summary:
Upload of apk artifacts from template jobs is currently failing (see https://app.circleci.com/pipelines/github/facebook/react-native/25867/workflows/daec954a-2de9-4573-877a-c9d4cfade6b0/jobs/739866/steps) due to wrong path.
This fixes it.

## Changelog:

[INTERNAL] - Use the correct path to upload apk from android template jobs

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

Test Plan: will wait for CI results

Reviewed By: cipolleschi

Differential Revision: D46858996

Pulled By: cortinico

fbshipit-source-id: 6fd81c77e94f5b18dbbbed005e47271ecd06718c
2023-06-20 10:26:47 -07:00
Brandon Austin a108dcb2ce Move verifyProprsNotAlreadyDefined Function To parsers-commons.js (#37963)
Summary:
Move the `verifyProprsNotAlreadyDefined` functions [from Flow](https://github.com/facebook/react-native/blob/d8ced6f8953cd896471983714e722caf50783960/packages/react-native-codegen/src/parsers/flow/components/componentsUtils.js#L220-L229) and [from TypeScript](https://github.com/facebook/react-native/blob/d8ced6f8953cd896471983714e722caf50783960/packages/react-native-codegen/src/parsers/typescript/components/componentsUtils.js#LL486-L495) to the parsers-commons.js file. Use the new function in place of the others.

## Changelog:

[Internal] [Changed] - Moved `verifyProprsNotAlreadyDefined` to `parsers-commons.js`

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

Reviewed By: cipolleschi

Differential Revision: D46841711

Pulled By: rshest

fbshipit-source-id: 4c7e85d8e184126d16c520b0e56b4c291babff06
2023-06-20 09:53:47 -07:00
Intl Scheduler 02771ecbfc translation auto-update for i18n/portal_core_ui.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862865

fbshipit-source-id: 852509a6a55e1b95758e841f95c96610c1af545e
2023-06-20 09:44:23 -07:00
Intl Scheduler 10f4d9ec8e translation auto-update for i18n/adsmanager.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862871

fbshipit-source-id: 2a87e1812d0c4a0cd69b2a40dded144284768be4
2023-06-20 09:44:23 -07:00
Intl Scheduler 1024d4f3d5 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862860

fbshipit-source-id: 3169de1f0ff8835cd289e8ca93cdcc836bcd7c5e
2023-06-20 09:44:23 -07:00
Intl Scheduler dfa6d60909 translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862867

fbshipit-source-id: 6ab6a444d4cd6a5327d84af9882a81fd2aff1ab6
2023-06-20 09:44:23 -07:00
Intl Scheduler cdfc001797 translation auto-update for i18n/portal_calling.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862874

fbshipit-source-id: 18aecb3eda334f7e27f41b299343d32c243e4a14
2023-06-20 09:44:23 -07:00
Intl Scheduler 17ae70a526 translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862872

fbshipit-source-id: 94504834f9703f8e5e716c998dc3a0e49d2546a2
2023-06-20 09:44:23 -07:00
Intl Scheduler 049f646519 translation auto-update for i18n/portal_alohausers.config.json on master
Summary:
Chronos Job Instance ID: 1125907903421526
Sandcastle Job Instance ID: 13510799858446338
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46862878

fbshipit-source-id: bb06270bd105db1804057a98fe6b61d2f966d118
2023-06-20 09:44:23 -07:00
Saad Najmi a4a8b4d8eb Remove some magic constants (#37875)
Summary:
RCTUITextView has two instances where it references some magic constants for font size and color. We inherited these in React Native macOS, and now I want to remove that diff & implement these properly :D.

Looking at commit history, these constants were found by UI inspecting a UITextView several years ago. We don't need to do this.. Apple provides API's for accessing these constants through the system. This gives us slightly better support for things like Large Text support (where 17 needs to be scaled) and Dark Mode (where the old placeholderFontColor is just wrong). Granted, these constants are overwritten almost immediately, I still thought it worth using the proper OS APIs.

The other nice thing about this API is they have very nice macOS equivalents, making the diffs nicer :).

## Changelog:

Pick one each for the category and type tags:

[IOS] [FIXED] - Remove some magic constants from RCTUITextView

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

Test Plan: Verified that the default UIFont is still 17 after this change.

Reviewed By: philIip

Differential Revision: D46770167

Pulled By: dmytrorykun

fbshipit-source-id: f577b5242a0c896d232f090ef2ffa5f452f8a191
2023-06-20 09:37:38 -07:00
Pieter De Baets 9d4cacee53 Remove FakeAsyncLocalStorage from GitHub (#37975)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37975

AsyncLocalStorage is no longer distributed with react-native, so neither should this test mock be.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D46857153

fbshipit-source-id: 3fdb2d95f3185b85a0777fde6ce59165c8ace8e9
2023-06-20 08:53:03 -07:00
Nicola Corti 9f7dddf1ac AGP to 8.0.2 (#37019)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37019

This bumps the version of AGP to the latest stable.
There was a breaking change in how buildConfig are built which I had to handle.
This also requires a bump of RNGP to work correctly.
Moreover, we now required Java 17 to build Android apps (as that's a AGP requirement).

Changelog:
[Android] [Changed] - Java to 17 and AGP to 8.0.2

Reviewed By: cipolleschi

Differential Revision: D45178748

fbshipit-source-id: 0f302e1f2f2ee56bd3566202fbb5ef67c9b220db
2023-06-20 08:00:05 -07:00
Intl Scheduler cba13bb7bf translation auto-update for i18n/creatorstudio.config.json on master
Summary:
Chronos Job Instance ID: 1125907903026576
Sandcastle Job Instance ID: 13510799858272981
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46857047

fbshipit-source-id: 0de1a28af7783388bcf5a9f632d21b4afcc07948
2023-06-20 05:38:51 -07:00
Intl Scheduler 9db70763ef translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907903026576
Sandcastle Job Instance ID: 13510799858272981
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46857056

fbshipit-source-id: 4d5744bd6f90b2036248b3f19e5fb138e44a9537
2023-06-20 05:38:51 -07:00
Intl Scheduler 58f0d46837 translation auto-update for i18n/pages-manager.config.json on master
Summary:
Chronos Job Instance ID: 1125907903026576
Sandcastle Job Instance ID: 13510799858272981
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46857049

fbshipit-source-id: 4491d9557d44809ebca6183292dbbbb1d44cffe7
2023-06-20 05:38:51 -07:00
Intl Scheduler c1379d143f translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907903026576
Sandcastle Job Instance ID: 13510799858272981
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46857046

fbshipit-source-id: 4826c75d8a553361c501e9d05b53fc54b3da06b6
2023-06-20 05:38:51 -07:00