Skip to content

Commit a9c323c

Browse files
committed
Update packager start text so that app instructions print next to info.
1 parent f63c5dd commit a9c323c

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

react-native-scripts/src/scripts/android.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ async function startAndroidAndPrintInfo() {
2525

2626
qr.generate(address, qrCode => {
2727
console.log(
28-
`To view your app with live reloading, point the Exponent app to this QR code:
28+
`To view your app with live reloading, point the Exponent app to this QR code. You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
2929
3030
${indent(qrCode, 2)}
3131
32-
You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
33-
3432
Or enter this address in the Exponent app's search bar:
3533
3634
${chalk.underline(chalk.cyan(address))}

react-native-scripts/src/scripts/ios.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,10 @@ async function startSimulatorAndPrintInfo() {
4343
if (success) {
4444
qr.generate(address, qrCode => {
4545
console.log(
46-
`To view your app with live reloading, point the Exponent app to this QR code:
46+
`To view your app with live reloading, point the Exponent app to this QR code. You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
4747
4848
${indent(qrCode, 2)}
4949
50-
You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
51-
5250
Or enter this address in the Exponent app's search bar:
5351
5452
${chalk.underline(chalk.cyan(address))}

react-native-scripts/src/scripts/start.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ async function printServerInfo() {
2323
console.log(
2424
`${chalk.green('Packager started!')}
2525
26-
To view your app with live reloading, point the Exponent app to this QR code:
26+
To view your app with live reloading, point the Exponent app to this QR code. You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
2727
2828
${indent(qrCode, 2)}
2929
30-
You'll find the QR scanner on the Projects tab of the app, under the '+' menu.
31-
3230
Or enter this address in the Exponent app's search bar:
3331
3432
${chalk.underline(chalk.cyan(address))}

0 commit comments

Comments
 (0)