Options

bundler

boolean
Default: true

Whether to skip starting the Metro bundler. True to start it, false to skip it.

device

d
string

Device name or UDID to build the app on. The value is not required if you have a single device connected.

platform

Required
string
Default: ios
Accepted values: ios, android

Platform to run for (ios, android).

port

p
number
Default: 8081

Port to start the Metro bundler on

scheme

string

(iOS) Explicitly set the Xcode scheme to use

sync

boolean
Default: true

Syncs npm dependencies to package.json (for React Native autolink). Always true when --install is used.

variant

string
Default: debug

(Android) Specify your app's build variant (e.g. debug, release).

xcodeConfiguration

string
Default: Debug

(iOS) Xcode configuration to use. Debug or Release