New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

expo-android-shell

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-android-shell

A native expo module to run android shell commands

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

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.

Keywords

react-native

FAQs

Package last updated on 23 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts