Conversation
huntie
force-pushed
the
remove-community-cli-platform-config
branch
from
September 24, 2026 14:13
9b9a022 to
aa9dde6
Compare
huntie
marked this pull request as ready for review
September 24, 2026 14:18
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Replaces #57353.
Depends on #58670 and react-native-community/cli#2817. See also react-native-community/template#235.
Note
This PR includes the commit from #58670 until that lands. Review the top commit only.
Deletes the
react-native.config.jsfile we ship withreact-native. The iOS and Android Community CLI platforms are moving back to being included by default (and in the first place, should not have been wired up here!), and all commands are self-registered by@react-native/community-cli-plugin.RNTester, pinned to
@react-native-community/cli20.2.0, registers the iOS and Android platforms in its ownreact-native.config.jsuntil it moves to 21.x.Changelog:
[General][Changed] - Platform registration config for the Community CLI is removed from the
react-nativepackage. No breaking change with@react-native-community/cli21.x (required).Test Plan:
RNTester
react-native configcommands, platforms, and project config are unchanged frommain, with both CLI 20.2.0 and the breaking: Bundle iOS and Android as core platforms react-native-community/cli#2817 buildreact-native bundle --platform ios --dev falsecompletes with the Fix tiny grammatical error #2817 buildTemplate-shaped app (no
react-native.config.jsin the project or inreact-native)androidandiosplatforms from the CLI, plus the plugin'sbundle,start,spm, andcodegenScreenshots of the template app are in the react-native-community/cli#2817 test plan.