0.2.8 • Published 3 years ago

react-native-rongta v0.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-rongta

Getting started

$ npm install react-native-rongta --save

Mostly automatic installation

$ react-native link react-native-rongta

Usage

import RNRongta from "react-native-rongta";

// TODO: What to do with the module?
// get list device
RNRongta.getDevicesList((error, listDevice) => {

}
// connect device
NativeModules.RNRongta.connectToDevice(item.id, isSuccess => {
      if (isSuccess == '1') {
        alert('Connect success');
        this.setState({isConnect: true});
      } else {
        alert('connect failed');
        this.setState({isConnect: false});
      }
    });
    
// print
RNRongta.print('test print');
0.2.7

3 years ago

0.2.6

3 years ago

0.2.8

3 years ago

0.2.5

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.0.3

3 years ago

0.1.1

3 years ago

0.1.8

3 years ago

0.0.9

3 years ago

0.1.7

3 years ago

0.0.8

3 years ago

0.1.4

3 years ago

0.0.5

3 years ago

0.1.3

3 years ago

0.0.4

3 years ago

0.1.6

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago