react-native-wol
React native module for sending Wake-On-Lan magic packets. Currently, works for Android only!
Getting started
$ npm install react-native-wol --save
Mostly automatic installation
$ react-native link react-native-wol
Manually Link Android
- In
android/setting.gradle
...include ':react-native-wol'project(':react-native-wol').projectDir = new File(settingsDir, '../react-native-wol/android')
- In
android/app/build.gradle
...dependencies { ... compile project(':react-native-wol')}
- In
MainApplication.java
... // <------ Add this! ...
Usage
; Wol