@react-native-community/cli-platform-android
- Version 15.1.2
- Published
- 145 kB
- 5 dependencies
- MIT license
Install
npm i @react-native-community/cli-platform-android
yarn add @react-native-community/cli-platform-android
pnpm add @react-native-community/cli-platform-android
Overview
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.
Index
Variables
Functions
Variables
variable adb
const adb: { getDevices: typeof getDevices; getAvailableCPUs: typeof getAvailableCPUs; getCPU: typeof getCPU;};
variable commands
const commands: ( | { name: string; description: string; func: () => Promise<void> } | { name: string; description: string; func: ( _argv: string[], config: any, args: import('./runAndroid').Flags ) => Promise<void>; options: ( | { name: string; description: string; parse?: undefined; default?: undefined; } | { name: string; description: string; parse: (val: string) => string[]; default?: undefined; } | { name: string; description: string; default: boolean; parse?: undefined; } | { name: string; default: string | number; parse: NumberConstructor; description?: undefined; } | { name: string; description: string; default: string | undefined; parse?: undefined; } | { name: string; description: string; parse: NumberConstructor; default?: undefined; } )[]; })[];
Functions
function getAdbPath
getAdbPath: () => string;
function listAndroidDevices
listAndroidDevices: () => Promise<DeviceData | undefined>;
function tryRunAdbReverse
tryRunAdbReverse: ( packagerPort: number | string, device?: string | void) => void;
Copyright (c) Facebook, Inc. and its affiliates.
This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
Package Files (6)
Dependencies (5)
Dev Dependencies (1)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@react-native-community/cli-platform-android
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@react-native-community/cli-platform-android)
- HTML<a href="https://www.jsdocs.io/package/@react-native-community/cli-platform-android"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2293 ms. - Missing or incorrect documentation? Open an issue for this package.