A framework for building native macOS apps with React.
Перейти к файлу
Sota Ogo 363ff5c0fc Build codegen package in pod install (#32678)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32678

In D32420306 (3d8b5a35f9) (3d8b5a35f9), I added a phase which uses a codegen, but it assumed that the codegen package has already been built. This diff fixes the issue where it checks and build the codegen packaage.

I also reverted the change that I made for the circle CI test since it now builds the codegen when running pod install.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D32707588

fbshipit-source-id: a287ff96e8123833da093228fe60e2069884eb45
2021-11-30 17:11:17 -08:00
.bundle Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
.circleci Build codegen package in pod install (#32678) 2021-11-30 17:11:17 -08:00
.github Do not report a CI failure if add-version-label-issue is red 2021-11-30 09:40:09 -08:00
IntegrationTests RN: Resolve Outstanding ESLint Warnings 2021-11-09 21:46:21 -08:00
Libraries React Native sync for revisions c0c71a8...c1220eb 2021-11-29 04:37:28 -08:00
React Add log function binding to Facebook App 2021-11-29 14:42:10 -08:00
ReactAndroid Refactor helper method for ScrollView to not detect scroll direction 2021-11-30 13:14:55 -08:00
ReactCommon Fix fromRawValue(EdgeInsets) from single float case falling through to float array 2021-11-30 10:38:22 -08:00
bots Make Danger Phabricator-friendly. (#32642) 2021-11-22 10:12:40 -08:00
docs Generate doc info for RN components 2019-09-19 18:36:25 -07:00
flow Inherit type of queueMicrotask from Flow 2021-10-19 11:30:58 -07:00
flow-typed/npm RN: Add `glob` Flow Definition 2021-10-20 19:25:45 -07:00
gradle/wrapper bump gradle to 7.3 (#32588) 2021-11-15 06:47:39 -08:00
jest RN: Eliminate Jest Log Spew 2021-11-09 23:42:28 -08:00
keystores Use fb_native_wrapper for all targets 2018-10-31 11:47:42 -07:00
local-cli Update references to the CLI (#23052) 2019-01-21 09:13:08 -08:00
packages Build codegen package in pod install (#32678) 2021-11-30 17:11:17 -08:00
repo-config Deploy 0.165.0 to xplat 2021-11-17 22:43:51 -08:00
scripts Build codegen package in pod install (#32678) 2021-11-30 17:11:17 -08:00
template Bump OSS Android build to SDK 31 (#32606) 2021-11-24 12:27:26 -08:00
third-party-podspecs Remove libstdc++ dependency (#32247) 2021-10-08 14:16:54 -07:00
tools/build_defs Enable allow_jni_merging for internal targets 2021-11-30 06:50:18 -08:00
.buckconfig Bump Buck compile SDK Android version to 31 2021-11-26 09:40:54 -08:00
.buckjavaargs
.clang-format Moving ObjC specific clang-format rules to the common config 2019-02-11 13:07:09 -08:00
.editorconfig Revert removal of CRLF from Windows bat files (#31398) 2021-09-09 22:44:32 -07:00
.eslintignore Lint: fix few "no-unused-var" warnings for imports (#30157) 2020-10-26 17:19:14 -07:00
.eslintrc RN: Add `react-test-renderer` Flow Definition 2021-06-06 17:08:55 -07:00
.flowconfig Deploy 0.165.0 to xplat 2021-11-17 22:43:51 -08:00
.flowconfig.android Deploy 0.165.0 to xplat 2021-11-17 22:43:51 -08:00
.gitignore Update ReactAndroid to use the AGP NDK Apis (#32443) 2021-11-01 05:59:15 -07:00
.prettierrc JS: Upgrade to Prettier v2.4.1 [1/n] 2021-11-02 22:14:16 -07:00
.ruby-version Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
BUCK Add log function binding to Facebook App 2021-11-29 14:42:10 -08:00
CHANGELOG.md add changelog for 0.66.3 (#32576) 2021-11-10 13:08:43 -08:00
CODE_OF_CONDUCT.md docs: add new version convenant contribuitor guide link (#32107) 2021-08-30 10:18:11 -07:00
CONTRIBUTING.md fix: Updated releases/changelog links (#32551) 2021-11-08 09:25:47 -08:00
ECOSYSTEM.md docs: fix url for chainreactconf (#30199) 2020-10-19 07:35:37 -07:00
Gemfile Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
Gemfile.lock iOS Ruby Updates (#32456) 2021-10-21 15:58:18 -07:00
LICENSE Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
LICENSE-docs
README.md fix: Updated releases/changelog links (#32551) 2021-11-08 09:25:47 -08:00
React-Core.podspec Remove libstdc++ dependency (#32247) 2021-10-08 14:16:54 -07:00
React.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
build.gradle.kts Create a `cleanAll` Top Level Gradle task. 2021-11-30 01:53:06 -08:00
cli.js Show full price instead of monthly price within the lead form 2019-03-28 16:07:19 -07:00
gradle.properties Make the `reactNativeArchitectures` property more discoverable 2021-11-08 07:21:08 -08:00
gradlew bump gradle to 7.3 (#32588) 2021-11-15 06:47:39 -08:00
gradlew.bat Re-sync with internal repository (#32212) 2021-09-15 10:45:06 +01:00
index.js RN: Deprecate Prop Types 2021-10-21 17:45:47 -07:00
interface.js restore core lib Flow definitions for Request, Response, etc. 2021-01-06 17:24:51 -08:00
jest-preset.js Create `@react-native/polyfills` package. 2020-07-22 03:02:45 -07:00
jest.config.js RN: Remove `fbjs` Dependency 2020-08-28 12:16:26 -07:00
metro.config.js Use newer metro language: `blacklistRE` -> `blockList` (#30342) 2021-10-05 02:26:26 -07:00
package.json Bump OSS Android build to SDK 31 (#32606) 2021-11-24 12:27:26 -08:00
react-native.config.js Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
react.gradle chore: make CLI error message more descriptive (#32593) 2021-11-15 05:40:27 -08:00
rn-get-polyfills.js Create `@react-native/polyfills` package. 2020-07-22 03:02:45 -07:00
runXcodeTests.sh Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
settings.gradle.kts Remove `mavenLocal()` 2021-09-22 03:23:00 -07:00
template.config.js imp: Add titlePlaceholder in template.config.js (#26218) 2020-05-12 09:09:23 -07:00
yarn.lock Deploy 0.165.0 to xplat 2021-11-17 22:43:51 -08:00

README.md

React Native

Learn once, write anywhere:
Build mobile apps with React.

React Native is released under the MIT license. Current CircleCI build status. Current npm package version. PRs welcome! Follow @reactnative

Getting Started · Learn the Basics · Showcase · Contribute · Community · Support

React Native brings React's declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.

  • Declarative. React makes it painless to create interactive UIs. Declarative views make your code more predictable and easier to debug.
  • Component-Based. Build encapsulated components that manage their state, then compose them to make complex UIs.
  • Developer Velocity. See local changes in seconds. Changes to JavaScript code can be live reloaded without rebuilding the native app.
  • Portability. Reuse code across iOS, Android, and other platforms.

React Native is developed and supported by many companies and individual core contributors. Find out more in our ecosystem overview.

Contents

📋 Requirements

React Native apps may target iOS 11.0 and Android 5.0 (API 21) or newer. You may use Windows, macOS, or Linux as your development operating system, though building and running iOS apps is limited to macOS. Tools like Expo can be used to work around this.

🎉 Building your first React Native app

Follow the Getting Started guide. The recommended way to install React Native depends on your project. Here you can find short guides for the most common scenarios:

📖 Documentation

The full documentation for React Native can be found on our website.

The React Native documentation discusses components, APIs, and topics that are specific to React Native. For further documentation on the React API that is shared between React Native and React DOM, refer to the React documentation.

The source for the React Native documentation and website is hosted on a separate repo, @facebook/react-native-website.

🚀 Upgrading

Upgrading to new versions of React Native may give you access to more APIs, views, developer tools, and other goodies. See the Upgrading Guide for instructions.

React Native releases are discussed in this discussion repo.

👏 How to Contribute

The main purpose of this repository is to continue evolving React Native core. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving React Native.

Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React Native.

Open Source Roadmap

You can learn more about our vision for React Native in the Roadmap.

Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

Discussions

Larger discussions and proposals are discussed in @react-native-community/discussions-and-proposals.

📄 License

React Native is MIT licensed, as found in the LICENSE file.

React Native documentation is Creative Commons licensed, as found in the LICENSE-docs file.