react-native-command-executer

Execute shell commands for ios/android devices from react-native

Usage no npm install needed!

<script type="module">
  import reactNativeCommandExecuter from 'https://cdn.skypack.dev/react-native-command-executer';
</script>

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);