Skip to content

Set InspectorFlags in RCTAppDelegate#41976

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D51589221
Closed

Set InspectorFlags in RCTAppDelegate#41976
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D51589221

Conversation

@huntie

@huntie huntie commented Dec 18, 2023

Copy link
Copy Markdown
Member

Summary:
Progress towards an opt-in setup for our new CDP backend.

  • Wires up D51563107 to conditionally disable the legacy Hermes debugger via ReactNativeConfig.
    • Configuration covered: iOS, for the RCTAppDelegate code path.
  • Create C++-only overload of RCTAppSetupPrepareApp, deprecate the previous function.

Changelog:
[iOS][Deprecated] - Deprecate RCTAppSetupPrepareApp, replaced with C++ overload

Reviewed By: motiz88

Differential Revision: D51589221

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Dec 18, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@analysis-bot

analysis-bot commented Dec 18, 2023

Copy link
Copy Markdown
Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,525,143 +9
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 19,899,942 -7
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 1045b22
Branch: main

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

Summary:

Progress towards an opt-in setup for our new CDP backend.

- Wires up D51563107 to conditionally disable the legacy Hermes debugger via `ReactNativeConfig`.
    - **Configuration covered**: iOS, for the `RCTAppDelegate` code path.
- Create C++-only overload of `RCTAppSetupPrepareApp`, deprecate the previous function.

Changelog:
[iOS][Deprecated] - Deprecate `RCTAppSetupPrepareApp`, replaced with C++ overload

Reviewed By: motiz88

Differential Revision: D51589221
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51589221

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 19, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 7a4950b.

huntie added a commit to huntie/react-native that referenced this pull request Jan 29, 2024
Summary:
Removes call to `InspectorFlags::initFromConfig`, since this approach is being replaced with `ReactNativeFeatureFlags`. This change is separated out as it originally made a public API deprecation.

Changelog:
[iOS][Deprecated] - **Un-deprecates** `RCTAppSetupPrepareApp` (reverts react#41976)

Differential Revision: D53048207

fbshipit-source-id: 31549c4ff9c11a5bd0e6d2887ca4063a3cf63c85
huntie added a commit to huntie/react-native that referenced this pull request Feb 6, 2024
…42642)

Summary:

Removes call to `InspectorFlags::initFromConfig`, since this approach is being replaced with `ReactNativeFeatureFlags`. This change is separated out as it originally made a public API deprecation.

Changelog:
[iOS][Deprecated] - **Un-deprecates** `RCTAppSetupPrepareApp` (reverts react#41976)

Reviewed By: motiz88

Differential Revision: D53048207
facebook-github-bot pushed a commit that referenced this pull request Feb 13, 2024
Summary:
Pull Request resolved: #42642

Removes call to `InspectorFlags::initFromConfig`, since this approach is being replaced with `ReactNativeFeatureFlags`. This change is separated out as it originally made a public API deprecation.

Changelog:
[iOS][Deprecated] - **Un-deprecates** `RCTAppSetupPrepareApp` (reverts #41976)

Reviewed By: motiz88

Differential Revision: D53048207

fbshipit-source-id: 8624020f1e9e19f9f1ee75af9b177e922e36c5d9
@huntie huntie deleted the export-D51589221 branch February 16, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants