react-native-command-executer
v1.0.4
Published
Execute shell commands for ios/android devices from react-native
Downloads
8
Readme
react-native-command-executer
Getting started
$ npm install react-native-command-executer --save
Mostly automatic installation
$ react-native link react-native-command-executer
Usage
import SNCommandExecuter from 'react-native-command-executer';
// TODO: What to do with the module?
let canExecute = SNCommandExecuter.canExecuteSu();
console.log('Can Execute: '+ canExecute);