Skip to content

Commit

Permalink
fix(react-native): remove listDevices default value for run-android (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Apr 19, 2023
1 parent 1743ff1 commit 9c9abaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
},
"listDevices": {
"type": "boolean",
"description": "Lists all available Android devices and simulators and let you choose one to run the app",
"default": false
"description": "Lists all available Android devices and simulators and let you choose one to run the app"
},
"binaryPath": {
"type": "string",
Expand Down Expand Up @@ -93,7 +92,6 @@
"activeArchOnly": {
"type": "boolean",
"description": "Build native libraries only for the current device architecture for debug builds.",
"examples": ["x86_64", "arm64-v8a"],
"default": false
},
"extraParams": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ function createRunAndroidOptions(options: ReactNativeRunAndroidOptions) {
return getCliOptions<ReactNativeRunAndroidOptions>(
options,
[...nxOptions, ...startOptions, ...deprecatedOptions],
['appId', 'appIdSuffix']
['appId', 'appIdSuffix', 'deviceId']
);
}
4 changes: 1 addition & 3 deletions packages/react-native/src/executors/run-android/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
},
"listDevices": {
"type": "boolean",
"description": "Lists all available Android devices and simulators and let you choose one to run the app",
"default": false
"description": "Lists all available Android devices and simulators and let you choose one to run the app"
},
"binaryPath": {
"type": "string",
Expand Down Expand Up @@ -95,7 +94,6 @@
"activeArchOnly": {
"type": "boolean",
"description": "Build native libraries only for the current device architecture for debug builds.",
"examples": ["x86_64", "arm64-v8a"],
"default": false
},
"extraParams": {
Expand Down

0 comments on commit 9c9abaa

Please sign in to comment.