Skip to content

Move use_react_native_codegen_discovery to use_react_native!#32749

Closed
sota000 wants to merge 1 commit into
facebook:mainfrom
sota000:export-D33054318
Closed

Move use_react_native_codegen_discovery to use_react_native!#32749
sota000 wants to merge 1 commit into
facebook:mainfrom
sota000:export-D33054318

Conversation

@sota000
Copy link
Copy Markdown
Contributor

@sota000 sota000 commented Dec 13, 2021

Summary:
Changelog: [Internal] Move the use_react_native_codegen_discovery call to use_react_native.

Found out that pre_install doesn't get invoked until all podspecs are read. This wouldn't work because I want use_react_native_codegen_discovery to generate React-Codgen podspecs.

I also think it's better to have less logic in Podfiles as it's hard to update once users set it up.

Reviewed By: cortinico

Differential Revision: D33054318

Summary:
Changelog: [Internal] Move the use_react_native_codegen_discovery call to use_react_native.

Found out that pre_install doesn't get invoked until all podspecs are read. This wouldn't work because I want use_react_native_codegen_discovery to generate React-Codgen podspecs.

I also think it's better to have less logic in Podfiles as it's hard to update once users set it up.

Reviewed By: cortinico

Differential Revision: D33054318

fbshipit-source-id: 562f8ab5a10cd13abbaa55334ea109a2c296e814
@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 fb-exported labels Dec 13, 2021
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: eb4ace8
Branch: main

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,293,042 +0
android hermes armeabi-v7a 7,623,655 +0
android hermes x86 8,763,620 +0
android hermes x86_64 8,702,530 +0
android jsc arm64-v8a 9,681,450 +0
android jsc armeabi-v7a 8,668,758 +0
android jsc x86 9,637,541 +0
android jsc x86_64 10,234,044 +0

Base commit: 4fb49cd
Branch: main

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @sota000 in 24e07bc.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 14, 2021
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.

4 participants