A framework for building native applications using React https://reactnative.dev
Find a file
David Vacca 320e3bd84e Fix UnsafeDereference: Replace !! with checkNotNull in FilterHelper (#56116)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56116

Fixed UnsafeDereference lint warning in FilterHelper.kt.

Replaced `filters.getMap(i)!!` with `checkNotNull(filters.getMap(i))` in `isOnlyColorMatrixFilters` method to match the pattern used in other methods in the same class.

changelog: [internal] internal

Reviewed By: Abbondanzo

Differential Revision: D96784843

fbshipit-source-id: d7e68e5228c6da966b34561609b167e9c16313a3
2026-03-19 17:02:13 -07:00
.bundle Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
.github Split Fantom workflow into separate build and test jobs (#54729) 2026-03-09 23:21:17 -07:00
__docs__ Animation Backend docs (#55488) 2026-02-12 04:25:14 -08:00
flow-typed feat: add support for including the babel partial config to cache key 2026-03-07 12:32:32 -08:00
gradle/wrapper Bump Gradle to 9.3.1 (#55453) 2026-02-10 07:41:08 -08:00
jest Standardize subtyping error code into incompatible-type in react native and metro (#53312) 2025-08-18 09:04:31 -07:00
packages Fix UnsafeDereference: Replace !! with checkNotNull in FilterHelper (#56116) 2026-03-19 17:02:13 -07:00
private Bump packages for next release (#55946) 2026-03-10 00:35:59 -07:00
scripts Bump fmt to 12.1.0 to fix xcode 26.4 (#56099) 2026-03-19 16:54:50 -07:00
.babelrc Move react-native-babel-transformer and react-native-babel-preset from Metro to React Native repo (#38228) 2023-07-27 11:48:16 -07:00
.clang-format Add QualifierAlignment to Clang Format Config (#44098) 2024-04-15 16:03:26 -07:00
.editorconfig Polish the .editorconfig file 2025-07-15 10:10:35 -07:00
.eslintignore react-native-babel-preset: Add transform snapshot tests (#55338) 2026-02-10 14:24:45 -08:00
.eslintrc.js Split out Jest preset to @react-native/jest-preset (#55169) 2026-02-18 09:32:10 -08:00
.flowconfig Deploy 0.305.1 to xplat (#56111) 2026-03-16 15:36:17 -07:00
.gitattributes Define syntax language for .js.flow on GitHub (#50720) 2025-04-15 01:44:07 -07:00
.gitignore Add __pycache__ to the gitignore (#56134) 2026-03-19 04:26:54 -07:00
.markdownlint-cli2.mjs Improve format of navigation to home (#50665) 2025-04-11 10:28:04 -07:00
.prettierignore Update ignore files and translate script (#49389) 2025-02-13 03:59:37 -08:00
.prettierrc.js Fork internal vs external prettier plugin resolution (#52787) 2025-07-23 06:51:56 -07:00
build.gradle.kts Update file paths to use rootProject reference (#55992) 2026-03-10 10:13:09 -07:00
CHANGELOG-0.5x.md Keep changelog references for previous versions in CHANGELOG (#52372) 2025-07-02 06:34:06 -07:00
CHANGELOG-0.6x.md Fixing typos (#55047) 2026-01-06 03:23:09 -08:00
CHANGELOG-0.7x.md Add changelog for 0.79.7 (#54224) 2025-10-21 16:59:30 -07:00
CHANGELOG.md Add changelog for v0.85.0-rc.5 (#56138) 2026-03-19 05:02:40 -07:00
CODE_OF_CONDUCT.md docs: add new version convenant contribuitor guide link (#32107) 2021-08-30 10:18:11 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md, replace wiki links (#34035) 2022-06-21 19:30:23 -07:00
ECOSYSTEM.md Update Callstack description in ECOSYSTEM.md (#51226) 2025-05-12 08:14:45 -07:00
Gemfile fix: make React native compatible with Ruby 3.4.0 (#49293) 2025-02-10 06:38:26 -08:00
Gemfile.lock fix: make React native compatible with Ruby 3.4.0 (#49293) 2025-02-10 06:38:26 -08:00
gradle.properties Use Hermes V1 as default engine (#54989) 2026-01-07 05:34:12 -08:00
gradlew Bump Gradle to 9.3.1 (#55453) 2026-02-10 07:41:08 -08:00
gradlew.bat Bump Gradle to 9.3.1 (#55453) 2026-02-10 07:41:08 -08:00
jest.config.js Split out Jest preset to @react-native/jest-preset (#55169) 2026-02-18 09:32:10 -08:00
LICENSE Re-add the top level LICENSE file (#37916) 2023-06-15 13:14:17 -07:00
package.json Add aliases for running cxx-api scripts (#56145) 2026-03-19 05:49:54 -07:00
react-native.code-workspace Format code-workspace file, clarify use of .vscode/ dir (#44874) 2024-06-11 09:27:48 -07:00
README.md chore: Add Bluesky badge to README (#53616) 2025-09-08 03:48:46 -07:00
runXcodeTests.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
settings.gradle.kts Update coordinates for remote artifacts of Hermes V1 (#53822) 2025-09-18 01:26:08 -07:00
yarn.lock Deploy 0.305.1 to xplat (#56111) 2026-03-16 15:36:17 -07:00

React Native

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

React Native is released under the MIT license. Current npm package version. PRs are welcome! Follow @reactnative on X Follow @reactnative.dev on Bluesky

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 15.1 and Android 7.0 (API 24) 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 repository, @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.