You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also iterate quickly on a device using the development server. You only have to be on the same Wi-Fi network as your computer. Shake your device to open the [Developer menu](debugging.md#accessing-the-in-app-developer-menu), then enable Live Reload. Your app will reload whenever your JavaScript code has changed.
163
163
@@ -204,7 +204,7 @@ To still use xip.io behind your router:
204
204
205
205
<blockclass="mac windows linux android" />
206
206
207
-
## Connecting to the development server
207
+
<h2>Connecting to the development server</h2>
208
208
209
209
You can also iterate quickly on a device by connecting to the development server running on your development machine. There are several ways of accomplishing this, depending on whether you have access to a USB cable or a Wi-Fi network.
210
210
@@ -262,7 +262,7 @@ You can now enable Live reloading from the [Developer menu](debugging.md#accessi
262
262
263
263
<blockclass="mac ios" />
264
264
265
-
## Building your app for production
265
+
<h2>Building your app for production</h2>
266
266
267
267
You have built a great app using React Native, and you are now itching to release it in the App Store. The process is the same as any other native iOS app, with some additional considerations to take into account.
268
268
@@ -311,6 +311,6 @@ You can now build your app for release by tapping `⌘B` or selecting **Product*
311
311
312
312
<blockclass="mac windows linux android" />
313
313
314
-
## Building your app for production
314
+
<h2>Building your app for production</h2>
315
315
316
316
You have built a great app using React Native, and you are now itching to release it in the Play Store. The process is the same as any other native Android app, with some additional considerations to take into account. Follow the guide for [generating a signed APK](signed-apk-android.md) to learn more.
Copy file name to clipboardexpand all lines: website/versioned_docs/version-0.62/running-on-device.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ If you used Expo CLI or Create React Native App to set up your project, you can
21
21
22
22
<blockclass="linux windows mac ios" />
23
23
24
-
## Running your app on iOS devices
24
+
<h2>Running your app on iOS devices</h2>
25
25
26
26
<blockclass="linux windows mac android" />
27
27
28
-
## Running your app on Android devices
28
+
<h2>Running your app on Android devices</h2>
29
29
30
30
<blockclass="linux windows mac ios android" />
31
31
@@ -74,7 +74,7 @@ If everything is set up correctly, your device will be listed as the build targe
74
74
75
75
Most Android devices can only install and run apps downloaded from Google Play, by default. You will need to enable USB Debugging on your device in order to install your app during development.
76
76
77
-
To enable USB debugging on your device, you will first need to enable the "Developer options" menu by going to **Settings** → **About phone** and then tapping the `Build number` row at the bottom seven times. You can then go back to **Settings** → **System** → **Developer options** to enable "USB debugging".
77
+
To enable USB debugging on your device, you will first need to enable the "Developer options" menu by going to **Settings** → **About phone**→ **Software information**and then tapping the `Build number` row at the bottom seven times. You can then go back to **Settings** → **Developer options** to enable "USB debugging".
You can also iterate quickly on a device using the development server. You only have to be on the same Wi-Fi network as your computer. Shake your device to open the [Developer menu](debugging.md#accessing-the-in-app-developer-menu), then enable Live Reload. Your app will reload whenever your JavaScript code has changed.
164
164
@@ -205,7 +205,7 @@ To still use xip.io behind your router:
205
205
206
206
<blockclass="mac windows linux android" />
207
207
208
-
## Connecting to the development server
208
+
<h2>Connecting to the development server</h2>
209
209
210
210
You can also iterate quickly on a device by connecting to the development server running on your development machine. There are several ways of accomplishing this, depending on whether you have access to a USB cable or a Wi-Fi network.
211
211
@@ -263,7 +263,7 @@ You can now enable Live reloading from the [Developer menu](debugging.md#accessi
263
263
264
264
<blockclass="mac ios" />
265
265
266
-
## Building your app for production
266
+
<h2>Building your app for production</h2>
267
267
268
268
You have built a great app using React Native, and you are now itching to release it in the App Store. The process is the same as any other native iOS app, with some additional considerations to take into account.
269
269
@@ -291,9 +291,9 @@ As your App Bundle grows in size, you may start to see a blank screen flash betw
291
291
292
292
```objectivec
293
293
// Place this code after "[self.window makeKeyAndVisible]" and before "return YES;"
The static bundle is built every time you target a physical device, even in Debug. If you want to save time, turn off bundle generation in Debug by adding the following to your shell script in the Xcode Build Phase `Bundle React Native code and images`:
@@ -312,6 +312,6 @@ You can now build your app for release by tapping `⌘B` or selecting **Product*
312
312
313
313
<blockclass="mac windows linux android" />
314
314
315
-
## Building your app for production
315
+
<h2>Building your app for production</h2>
316
316
317
317
You have built a great app using React Native, and you are now itching to release it in the Play Store. The process is the same as any other native Android app, with some additional considerations to take into account. Follow the guide for [generating a signed APK](signed-apk-android.md) to learn more.
0 commit comments