Skip to content

TheNinza/expo-android-shell

Repository files navigation

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.

About

A native expo module to execute shell commands on Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published