expo-android-shell
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

expo-android-shell

A native expo module to execute shell commands on Android.

Installation

npm install expo-android-shell

Methods

execCommand(command: string): string

Executes a shell command synchronously. Returns the output of the command.

execCommandAsync(command: string): Promise<string>

Executes a shell command asynchronously on a native background thread. Returns a promise that resolves with the output of the command.

Usage

See the example for a full example.

Package Sidebar

Install

npm i expo-android-shell

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

13.1 kB

Total Files

30

Last publish

Collaborators

  • theninza