-
Notifications
You must be signed in to change notification settings - Fork 933
Closed
Labels
Description
Description
I was upgrading my app from 72 to 73 and reviewing the Upgrade Helper changes, and I saw a new file react-native.config.js:
I looked in the react-native repo, but this file isn't in the template. So I looked in the CLI and found the change that includes this comment:
/*
Starting from 0.73, react-native.config.js is created by CLI during the init process.
It contains automaticPodsInstallation flag set to true by default.
This flag is used by CLI to determine whether to install CocoaPods dependencies when running ios commands or not.
It's created by CLI rather than being a part of a template to avoid displaying this file in the Upgrade Helper,
as it might bring confusion for existing projects where this change might not be applicable.
For more details, see https://github.com/react-native-community/cli/blob/main/docs/projects.md#projectiosautomaticpodsinstallation
*/So the intention was to not check-in the file to the template, so the helper didn't include it. But for some reason, the helper does include it.