Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix[android]: fix bridgeless configuration to include DebuggingOverlay in react packages #43661

Closed
wants to merge 1 commit into from

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Mar 26, 2024

Summary:

Changelog: [Internal]

  1. Move BridgelessDebugReactPackage.java to core, this was added in D43407534.
  2. ReactInstanceJava to add BridgelessDebugReactPackage, so DebuggingOverlay view manager will be included in the bridgeless build.
  3. Fix RNTesterApplication.kt to NOT create MyLegacyViewManager for every possible viewManagerName, apart from "RNTMyNativeView", return null instead.

Differential Revision: D55375350

@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 Mar 26, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 26, 2024
…y in react packages (facebook#43661)

Summary:
Pull Request resolved: facebook#43661

# Changelog: [Internal]

1. Move `BridgelessDebugReactPackage.java` to core, this was added in D43407534.
2. `ReactInstanceJava` to add `BridgelessDebugReactPackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from 325fa5e to 786d004 Compare March 26, 2024 20:21
@facebook-github-bot
Copy link
Contributor

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

@hoxyq hoxyq force-pushed the export-D55375350 branch from 786d004 to 3596edb Compare March 27, 2024 16:23
hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 27, 2024
…y in react packages (facebook#43661)

Summary:
Pull Request resolved: facebook#43661

# Changelog: [Internal]

1. Move `BridgelessDebugReactPackage.java` to core, this was added in D43407534.
2. `ReactInstanceJava` to add `BridgelessDebugReactPackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 27, 2024
…y in react packages (facebook#43661)

Summary:
Pull Request resolved: facebook#43661

# Changelog: [Internal]

1. Move `BridgelessDebugReactPackage.java` to core, this was added in D43407534.
2. `ReactInstanceJava` to add `BridgelessDebugReactPackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from 3596edb to a2c54ce Compare March 27, 2024 16:32
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 27, 2024
…y in react packages (facebook#43661)

Summary:
Pull Request resolved: facebook#43661

# Changelog: [Internal]

1. Move `BridgelessDebugReactPackage.java` to core, this was added in D43407534.
2. `ReactInstanceJava` to add `BridgelessDebugReactPackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from a2c54ce to bcfc627 Compare March 27, 2024 16:48
hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 27, 2024
…y in react packages (facebook#43661)

Summary:

# Changelog: [Internal]

1. Remove `BridgelessDebugReactPackage.java` to core, this was added in D43407534. Technically, its the same as `DebugCorePackage.java`.
2. `ReactInstance` to add `DebugCorePackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from bcfc627 to b829060 Compare March 27, 2024 17:46
@facebook-github-bot
Copy link
Contributor

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

hoxyq added a commit to hoxyq/react-native that referenced this pull request Mar 27, 2024
…y in react packages (facebook#43661)

Summary:

# Changelog: [Internal]

1. Remove `BridgelessDebugReactPackage.java` to core, this was added in D43407534. Technically, its the same as `DebugCorePackage.java`.
2. `ReactInstance` to add `DebugCorePackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from b829060 to cdd0ba2 Compare March 27, 2024 17:49
@facebook-github-bot
Copy link
Contributor

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

…y in react packages (facebook#43661)

Summary:

# Changelog: [Internal]

1. Remove `BridgelessDebugReactPackage.java`, this was added in D43407534. Technically, its the same as `DebugCorePackage.java`.
2. `ReactInstance` to add `DebugCorePackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Differential Revision: D55375350
@hoxyq hoxyq force-pushed the export-D55375350 branch from cdd0ba2 to f969523 Compare March 27, 2024 17:50
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 18,487,479 +3
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,856,578 -6
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 575507d
Branch: main

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 28, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ad93680.

huntie pushed a commit that referenced this pull request Apr 2, 2024
…y in react packages (#43661)

Summary:
Pull Request resolved: #43661

# Changelog: [Internal]

1. Remove `BridgelessDebugReactPackage.java`, this was added in D43407534. Technically, its the same as `DebugCorePackage.java`.
2. `ReactInstance` to add `DebugCorePackage`, so `DebuggingOverlay` view manager will be included in the bridgeless build.
3. Fix `RNTesterApplication.kt` to NOT create `MyLegacyViewManager` for every possible viewManagerName, apart from `"RNTMyNativeView"`, return null instead.

Reviewed By: cortinico

Differential Revision: D55375350

fbshipit-source-id: 1d3cb6b5ad3c0248df1def9f37c8c49b308f4473
This was referenced Jun 28, 2024
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