Skip to content

Commit b5da60a

Browse files
committed
add new flag to README
1 parent 51f728c commit b5da60a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/cli-platform-android/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ Build native libraries only for the current device architecture for debug builds
7373
7474
List all available Android devices and simulators and let you choose one to run the app.
7575

76+
#### `--dependency-check`
77+
Check if there are any transitive dependencies containing native code that are not declared as a direct dependency in your package.json. If any found, prompts if you want to install and autolink them before running an app.
78+
7679
### `build-android`
7780

7881
Usage:
@@ -108,6 +111,9 @@ Installs passed binary instead of building a fresh one. This command is not comp
108111

109112
Id of the User Profile you want to install the app on.
110113

114+
#### `--dependency-check`
115+
Check if there are any transitive dependencies containing native code that are not declared as a direct dependency in your package.json. If any found, prompts if you want to install and autolink them before building an app.
116+
111117
### `log-android`
112118

113119
Usage:

packages/cli-platform-ios/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ Example:
104104
npx react-native run-ios --extra-params "-jobs 4"
105105
```
106106

107+
#### `--dependency-check`
108+
Check if there are any transitive dependencies containing native code that are not declared as a direct dependency in your package.json. If any found, prompts if you want to install and autolink them before running an app.
109+
107110
### `build-ios`
108111

109112
Usage:
@@ -204,6 +207,9 @@ Example:
204207
npx react-native build-ios --extra-params "-jobs 4"
205208
```
206209

210+
#### `--dependency-check`
211+
Check if there are any transitive dependencies containing native code that are not declared as a direct dependency in your package.json. If any found, prompts if you want to install and autolink them before building an app.
212+
207213
### log-ios
208214

209215
### `log-ios`

0 commit comments

Comments
 (0)