Skip to content

Commit

Permalink
fix(react-native): remove listDevices default value for run-android (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi authored 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

1 comment on commit 9c9abaa

@vercel
Copy link

@vercel vercel bot commented on 9c9abaa Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.