A framework for building native macOS apps with React.
Перейти к файлу
Dulmandakh 70da640946 remove jcenter (#31609)
Summary:
jcenter is read-only now, and newer versions of dependencies will be published to either MavenCentral or Jitpack. This PR removes jcenter to avoid future issues, then uses MavenCentral and Jitpack as replacement. Current flipper depends on Stetho version that is not available on MavenCentral, so had to exclude and bump the version.

Both Gradle and Buck successfully download all the dependencies.

## Changelog

[Android] [Changed] - Remove jcenter

Pull Request resolved: https://github.com/facebook/react-native/pull/31609

Test Plan: rn-tester builds and runs as expected.

Reviewed By: mdvacca

Differential Revision: D28802444

Pulled By: ShikaSD

fbshipit-source-id: 043ef079d0cda77a1f8dd732678452ed712741a4
2021-06-02 09:57:28 -07:00
.circleci Fix react-native-oss-ios by bumping Xcode to 12.4.0 (#31554) 2021-05-19 14:18:50 -07:00
.github Use renamed `respond-to-issue-based-on-label` GitHub Action. (#30832) 2021-02-26 17:13:36 -08:00
IntegrationTests pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
Libraries RN: Cleanup `collapsable` Experiment (iOS) 2021-06-02 09:43:41 -07:00
React Fix for ScrollView race condition between C++ state update and onScroll 2021-05-26 03:32:03 -07:00
ReactAndroid remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
ReactCommon Fix for ScrollView race condition between C++ state update and onScroll 2021-05-26 03:32:03 -07:00
bots Add Java linting using google-java-format (#30444) 2020-12-07 03:12:35 -08:00
docs
flow RN: Remove `fbjs` Dependency 2020-08-28 12:16:26 -07:00
flow-typed/npm misc Flow library fixes & suppressions 2021-01-19 11:55:09 -08:00
gradle/wrapper Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593) 2021-06-01 11:29:51 -07:00
jest RN][JS][static view configs] Use unstable_hasStaticViewConfig to detect if a component is registered in the native app 2021-04-30 17:41:25 -07:00
keystores
local-cli
packages remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
repo-config Deploy Flow v0.152.0 2021-05-27 07:58:47 -07:00
scripts Fix react-native-oss-ios by bumping Xcode to 12.4.0 (#31554) 2021-05-19 14:18:50 -07:00
template remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
third-party-podspecs Fix Hermes + no Flipper build on Xcode 12.5 2021-05-11 15:00:58 -07:00
tools/build_defs Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593) 2021-06-01 11:29:51 -07:00
.buckconfig remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
.buckjavaargs
.clang-format
.editorconfig remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
.eslintignore Lint: fix few "no-unused-var" warnings for imports (#30157) 2020-10-26 17:19:14 -07:00
.eslintrc Open source react-native-modules ESLint rule 2020-09-22 11:32:37 -07:00
.flowconfig Deploy Flow v0.152.0 2021-05-27 07:58:47 -07:00
.flowconfig.android Deploy Flow v0.152.0 2021-05-27 07:58:47 -07:00
.gitattributes Fixing the git attrs for all the people and all the files and all future (#31128) 2021-04-21 11:27:32 -07:00
.gitignore Add react build app plugin and extension 2021-02-22 08:16:51 -08:00
.prettierrc Update various Xplat Prettier configs to specify arrowParens: avoid 2020-09-14 18:36:20 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update CONTRIBUTING.md (#31590) 2021-05-26 13:41:44 -07:00
ECOSYSTEM.md docs: fix url for chainreactconf (#30199) 2020-10-19 07:35:37 -07:00
LICENSE
LICENSE-docs
README.md Bump min supported iOS/Android version to 11/19 2021-01-14 15:45:52 -08:00
React-Core.podspec fix(hermes): fixed hermes build on iOS (#31559) 2021-05-20 15:23:07 -07:00
React.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
Releases.md
build.gradle.kts remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
cli.js
gradle.properties Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593) 2021-06-01 11:29:51 -07:00
gradlew Update Gradle Wrapper to 6.6 (#29613) 2020-08-26 16:37:20 -07:00
gradlew.bat Fixing the git attrs for all the people and all the files and all future (#31128) 2021-04-21 11:27:32 -07:00
index.js Cleanup for shipping use_switch_modern 2021-05-03 11:44:53 -07:00
interface.js restore core lib Flow definitions for Request, Response, etc. 2021-01-06 17:24:51 -08:00
jest-preset.js
jest.config.js RN: Remove `fbjs` Dependency 2020-08-28 12:16:26 -07:00
metro.config.js Codegen Android: update Docker configuration to support codegen (#30268) 2020-10-28 21:48:20 -07:00
package.json fix: update to @jest/create-cache-key-function@27 (#30637) 2021-06-01 17:18:52 -07:00
react-native.config.js Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
react.gradle Don't minify JS bundle by default when using hermes (#30496) 2020-12-01 17:17:06 -08:00
rn-get-polyfills.js
runXcodeTests.sh Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
settings.gradle.kts Add react build app plugin and extension 2021-02-22 08:16:51 -08:00
template.config.js
yarn.lock fix: update to @jest/create-cache-key-function@27 (#30637) 2021-06-01 17:18:52 -07: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 the React Native Community, @react-native-community/react-native-releases.

👏 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.