react-native-bixolon-bluetooth-printer

1.0.1 • Public • Published

react-native-bixolon-bluetooth-printer

Getting started

$ npm install react-native-bixolon-bluetooth-printer --save

Mostly automatic installation

$ react-native link react-native-bixolon-bluetooth-printer

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNBixolonBluetoothPrinterPackage; to the imports at the top of the file
  • Add new RNBixolonBluetoothPrinterPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-bixolon-bluetooth-printer'
    project(':react-native-bixolon-bluetooth-printer').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-bixolon-bluetooth-printer/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-bixolon-bluetooth-printer')
    

Usage

import RNBixolonBluetoothPrinter from 'react-native-bixolon-bluetooth-printer';

// TODO: What to do with the module?
RNBixolonBluetoothPrinter;

Readme

Keywords

Package Sidebar

Install

npm i react-native-bixolon-bluetooth-printer

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

3.83 kB

Total Files

8

Last publish

Collaborators

  • ilhyung