0.2.1 • Published 8 years ago

react-native-imlink v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

react-native-imlink

react native imlink wifi for android and ios

##install 1. npm install react-native-imlink --save 2. react-native link react-native-imlink

Usage

//import module
import ImLink from 'react-native-imlink';

//get current connected wifi ssid
//return result by callback function
ImLink.getSsid((ssid) => {
	console.log(ssid);
});

//start imlink
ImLink.start({
  ssid: 'apssid',       //string: ssid
  password: '123456',   //string: password
  count: 1              // int: config devices count
}).then((result) => {
  console.log(result);
}).catch((error) => {
  console.log(error);

})

//interrupt imlink
ImLink.stop();
0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

9 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago