Skip to content

Commit 1990be8

Browse files
authored
[docs] Cut branch 0.83 (facebook#4929)
1 parent 28fc4f8 commit 1990be8

File tree

243 files changed

+46321
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+46321
-4
lines changed

website/src/components/releases/_releases-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
| `0.86.x` | 2026-05-04 | 2026-06-08 | Future | |
77
| `0.85.x` | 2026-03-02 | 2026-04-06 | Future | |
88
| `0.84.x` | 2026-01-05 | 2026-02-09 | Future | |
9-
| `0.83.x` | 2025-11-03 | 2025-12-08 | Future | |
9+
| `0.83.x` | 2025-11-03 | 2025-12-10 | Active | [Details](/blog/2025/12/10/react-native-0.83) |
1010
| `0.82.x` | 2025-09-01 | 2025-10-06 | Active | [Details](/blog/2025/10/08/react-native-0.82) |
11-
| `0.81.x` | 2025-07-10 | 2025-08-12 | Active | [Details](/blog/2025/08/12/react-native-0.81) |
12-
| `0.80.x` | 2025-05-07 | 2025-06-12 | End of Cycle | [Details](/blog/2025/06/12/react-native-0.80) |
11+
| `0.81.x` | 2025-07-10 | 2025-08-12 | End of Cycle | [Details](/blog/2025/08/12/react-native-0.81) |
12+
| `0.80.x` | 2025-05-07 | 2025-06-12 | Unsupported | [Details](/blog/2025/06/12/react-native-0.80) |
1313
| `0.79.x` | 2025-03-04 | 2025-04-08 | Unsupported | [Details](/blog/2025/04/08/react-native-0.79) |
1414
| `0.78.x` | 2025-01-15 | 2025-02-19 | Unsupported | [Details](/blog/2025/02/19/react-native-0.78) |
1515
| `0.77.x` | 2024-11-26 | 2025-01-21 | Unsupported | [Details](/blog/2025/01/21/version-0.77) |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:::tip Canary 🧪
2+
3+
**This API is currently only available in React Native’s Canary and Experimental channels.**
4+
5+
If you want to try it out, please [enable the Canary Channel](releases/release-levels) in your app.
6+
7+
:::
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
:::important Experimental 🧪
2+
3+
**This API is experimental.** Experimental APIs may contain bugs and are likely to change in a future version of React Native. Don't use them in production.
4+
5+
:::
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::tip Experimental Feature 🧪
2+
3+
**This API is currently only available in React Native’s Experimental channels.**
4+
5+
Experimental APIs may contain bugs and are likely to change in a future version of React Native. Don't use them in production.
6+
7+
If you want to try it out, please [enable the Experimental Channel](releases/release-levels) in your app.
8+
9+
:::
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
import IOSContent from './fabric-native-components-ios.md';
3+
import AndroidContent from './fabric-native-components-android.md';
4+
5+
export function FabricNativeComponentsIOS() {
6+
return <IOSContent />;
7+
}
8+
9+
export function FabricNativeComponentsAndroid() {
10+
return <AndroidContent />;
11+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
## Installing dependencies
2+
3+
You will need Node, the React Native command line interface, a JDK, and Android Studio.
4+
5+
While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.
6+
7+
<h3>Node</h3>
8+
9+
Follow the [installation instructions for your Linux distribution](https://nodejs.org/en/download/package-manager/) to install Node 20.19.4 or newer.
10+
11+
<h3>Java Development Kit</h3>
12+
13+
React Native currently recommends version 17 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and install [OpenJDK](https://openjdk.java.net) from [AdoptOpenJDK](https://adoptopenjdk.net/) or your system packager.
14+
15+
<h3>Android development environment</h3>
16+
17+
Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.
18+
19+
<h4 id="android-studio">1. Install Android Studio</h4>
20+
21+
[Download and install Android Studio](https://developer.android.com/studio). While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
22+
23+
- `Android SDK`
24+
- `Android SDK Platform`
25+
- `Android Virtual Device`
26+
27+
Then, click "Next" to install all of these components.
28+
29+
:::note
30+
If the checkboxes are grayed out, you will have a chance to install these components later on.
31+
:::
32+
33+
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
34+
35+
<h4 id="android-sdk">2. Install the Android SDK</h4>
36+
37+
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the `Android 15 (VanillaIceCream)` SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
38+
39+
To do that, open Android Studio, click on "Configure" button and select "SDK Manager".
40+
41+
:::tip
42+
The SDK Manager can also be found within the Android Studio "Settings" dialog, under **Languages & Frameworks****Android SDK**.
43+
:::
44+
45+
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the `Android 15 (VanillaIceCream)` entry, then make sure the following items are checked:
46+
47+
- `Android SDK Platform 35`
48+
- `Intel x86 Atom_64 System Image` or `Google APIs Intel x86 Atom System Image`
49+
50+
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that `35.0.0` is selected.
51+
52+
Finally, click "Apply" to download and install the Android SDK and related build tools.
53+
54+
<h4>3. Configure the ANDROID_HOME environment variable</h4>
55+
56+
The React Native tools require some environment variables to be set up in order to build apps with native code.
57+
58+
Add the following lines to your `$HOME/.bash_profile` or `$HOME/.bashrc` (if you are using `zsh` then `~/.zprofile` or `~/.zshrc`) config file:
59+
60+
```shell
61+
export ANDROID_HOME=$HOME/Android/Sdk
62+
export PATH=$PATH:$ANDROID_HOME/emulator
63+
export PATH=$PATH:$ANDROID_HOME/platform-tools
64+
```
65+
66+
:::note
67+
`.bash_profile` is specific to `bash`. If you're using another shell, you will need to edit the appropriate shell-specific config file.
68+
:::
69+
70+
Type `source $HOME/.bash_profile` for `bash` or `source $HOME/.zprofile` to load the config into your current shell. Verify that ANDROID_HOME has been set by running `echo $ANDROID_HOME` and the appropriate directories have been added to your path by running `echo $PATH`.
71+
72+
:::note
73+
Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Settings" dialog, under **Languages & Frameworks****Android SDK**.
74+
:::
75+
76+
<h3>Watchman</h3>
77+
78+
Follow the [Watchman installation guide](https://facebook.github.io/watchman/docs/install#buildinstall) to compile and install Watchman from source.
79+
80+
:::info
81+
[Watchman](https://facebook.github.io/watchman/docs/install) is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance and increased compatibility in certain edge cases (translation: you may be able to get by without installing this, but your mileage may vary; installing this now may save you from a headache later).
82+
:::
83+
84+
<h2>Preparing the Android device</h2>
85+
86+
You will need an Android device to run your React Native Android app. This can be either a physical Android device, or more commonly, you can use an Android Virtual Device which allows you to emulate an Android device on your computer.
87+
88+
Either way, you will need to prepare the device to run Android apps for development.
89+
90+
<h3>Using a physical device</h3>
91+
92+
If you have a physical Android device, you can use it for development in place of an AVD by plugging it in to your computer using a USB cable and following the instructions [here](running-on-device.md).
93+
94+
<h3>Using a virtual device</h3>
95+
96+
If you use Android Studio to open `./AwesomeProject/android`, you can see the list of available Android Virtual Devices (AVDs) by opening the "AVD Manager" from within Android Studio. Look for an icon that looks like this:
97+
98+
<img src="/docs/assets/GettingStartedAndroidStudioAVD.svg" alt="Android Studio AVD Manager" width="100"/>
99+
100+
If you have recently installed Android Studio, you will likely need to [create a new AVD](https://developer.android.com/studio/run/managing-avds.html). Select "Create Virtual Device...", then pick any Phone from the list and click "Next", then select the **VanillaIceCream** API Level 35 image.
101+
102+
:::tip
103+
We recommend configuring [VM acceleration](https://developer.android.com/studio/run/emulator-acceleration.html#vm-linux) on your system to improve performance. Once you've followed those instructions, go back to the AVD Manager.
104+
:::
105+
106+
Click "Next" then "Finish" to create your AVD. At this point you should be able to click on the green triangle button next to your AVD to launch it.
107+
108+
<h3>That's it!</h3>
109+
110+
Congratulations! You successfully set up your development environment.
111+
112+
<center><img src="/docs/assets/GettingStartedCongratulations.png" width="150"></img></center>
113+
114+
<h2>Now what?</h2>
115+
116+
- If you want to add this new React Native code to an existing application, check out the [Integration guide](integration-with-existing-apps.md).
117+
- If you're curious to learn more about React Native, check out the [Introduction to React Native](getting-started).
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
## Installing dependencies
2+
3+
You will need Node, Watchman, the React Native command line interface, a JDK, and Android Studio.
4+
5+
While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.
6+
7+
<h3>Node &amp; Watchman</h3>
8+
9+
We recommend installing Node and Watchman using [Homebrew](https://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
10+
11+
```shell
12+
brew install node
13+
brew install watchman
14+
```
15+
16+
If you have already installed Node on your system, make sure it is Node 20.19.4 or newer.
17+
18+
[Watchman](https://facebook.github.io/watchman) is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.
19+
20+
<h3>Java Development Kit</h3>
21+
22+
We recommend installing the OpenJDK distribution called Azul **Zulu** using [Homebrew](https://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
23+
24+
```shell
25+
brew install --cask zulu@17
26+
27+
# Get path to where cask was installed to find the JDK installer
28+
brew info --cask zulu@17
29+
30+
# ==> zulu@17: <version number>
31+
# https://www.azul.com/downloads/
32+
# Installed
33+
# /opt/homebrew/Caskroom/zulu@17/<version number> (185.8MB) (note that the path is /usr/local/Caskroom on non-Apple Silicon Macs)
34+
# Installed using the formulae.brew.sh API on 2024-06-06 at 10:00:00
35+
36+
# Navigate to the folder
37+
open /opt/homebrew/Caskroom/zulu@17/<version number> # or /usr/local/Caskroom/zulu@17/<version number>
38+
```
39+
40+
After opening Finder, double click the `Double-Click to Install Azul Zulu JDK 17.pkg` package to install the JDK.
41+
42+
After the JDK installation, add or update your `JAVA_HOME` environment variable in `~/.zshrc` (or in `~/.bash_profile`).
43+
44+
If you used above steps, JDK will likely be located at `/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home`:
45+
46+
```shell
47+
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
48+
```
49+
50+
The Zulu OpenJDK distribution offers JDKs for **both Intel and M1 Macs**. This will make sure your builds are faster on M1 Macs compared to using an Intel-based JDK.
51+
52+
If you have already installed JDK on your system, we recommend JDK 17. You may encounter problems using higher JDK versions.
53+
54+
<h3>Android development environment</h3>
55+
56+
Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.
57+
58+
<h4 id="android-studio">1. Install Android Studio</h4>
59+
60+
[Download and install Android Studio](https://developer.android.com/studio). While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
61+
62+
- `Android SDK`
63+
- `Android SDK Platform`
64+
- `Android Virtual Device`
65+
66+
Then, click "Next" to install all of these components.
67+
68+
:::note
69+
If the checkboxes are grayed out, you will have a chance to install these components later on.
70+
:::
71+
72+
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
73+
74+
<h4 id="android-sdk">2. Install the Android SDK</h4>
75+
76+
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the `Android 15 (VanillaIceCream)` SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
77+
78+
To do that, open Android Studio, click on "More Actions" button and select "SDK Manager".
79+
80+
![Android Studio Welcome](/docs/assets/GettingStartedAndroidStudioWelcomeMacOS.png)
81+
82+
:::tip
83+
The SDK Manager can also be found within the Android Studio "Settings" dialog, under **Languages & Frameworks****Android SDK**.
84+
:::
85+
86+
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the `Android 15 (VanillaIceCream)` entry, then make sure the following items are checked:
87+
88+
- `Android SDK Platform 35`
89+
- `Intel x86 Atom_64 System Image` or `Google APIs Intel x86 Atom System Image` or (for Apple M1 Silicon) `Google APIs ARM 64 v8a System Image`
90+
91+
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that `35.0.0` is selected.
92+
93+
Finally, click "Apply" to download and install the Android SDK and related build tools.
94+
95+
<h4>3. Configure the ANDROID_HOME environment variable</h4>
96+
97+
The React Native tools require some environment variables to be set up in order to build apps with native code.
98+
99+
Add the following lines to your `~/.zprofile` or `~/.zshrc` (if you are using `bash`, then `~/.bash_profile` or `~/.bashrc`) config file:
100+
101+
```shell
102+
export ANDROID_HOME=$HOME/Library/Android/sdk
103+
export PATH=$PATH:$ANDROID_HOME/emulator
104+
export PATH=$PATH:$ANDROID_HOME/platform-tools
105+
```
106+
107+
Run `source ~/.zprofile` (or `source ~/.bash_profile` for `bash`) to load the config into your current shell. Verify that ANDROID_HOME has been set by running `echo $ANDROID_HOME` and the appropriate directories have been added to your path by running `echo $PATH`.
108+
109+
:::note
110+
Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Settings" dialog, under **Languages & Frameworks****Android SDK**.
111+
:::
112+
113+
<h2>Preparing the Android device</h2>
114+
115+
You will need an Android device to run your React Native Android app. This can be either a physical Android device, or more commonly, you can use an Android Virtual Device which allows you to emulate an Android device on your computer.
116+
117+
Either way, you will need to prepare the device to run Android apps for development.
118+
119+
<h3>Using a physical device</h3>
120+
121+
If you have a physical Android device, you can use it for development in place of an AVD by plugging it in to your computer using a USB cable and following the instructions [here](running-on-device.md).
122+
123+
<h3>Using a virtual device</h3>
124+
125+
If you use Android Studio to open `./AwesomeProject/android`, you can see the list of available Android Virtual Devices (AVDs) by opening the "AVD Manager" from within Android Studio. Look for an icon that looks like this:
126+
127+
<img src="/docs/assets/GettingStartedAndroidStudioAVD.svg" alt="Android Studio AVD Manager" width="100"/>
128+
129+
If you have recently installed Android Studio, you will likely need to [create a new AVD](https://developer.android.com/studio/run/managing-avds.html). Select "Create Virtual Device...", then pick any Phone from the list and click "Next", then select the **VanillaIceCream** API Level 35 image.
130+
131+
Click "Next" then "Finish" to create your AVD. At this point you should be able to click on the green triangle button next to your AVD to launch it.
132+
133+
<h3>That's it!</h3>
134+
135+
Congratulations! You successfully set up your development environment.
136+
137+
<center><img src="/docs/assets/GettingStartedCongratulations.png" width="150"></img></center>
138+
139+
<h2>Now what?</h2>
140+
141+
- If you want to add this new React Native code to an existing application, check out the [Integration guide](integration-with-existing-apps.md).
142+
- If you're curious to learn more about React Native, check out the [Introduction to React Native](getting-started).

0 commit comments

Comments
 (0)