0.1.1-rc0.3 • Published 6 years ago
react-native-zebra-barcode v0.1.1-rc0.3
react-native-zebra-barcode
Getting started
$ npm install react-native-zebra-barcode --save
Mostly automatic installation
$ react-native link react-native-zebra-barcode
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNZebraBarcodePackage;to the imports at the top of the file - Add
new RNZebrabarcodePackage()to the list returned by thegetPackages()method
- Append the following lines to
android/settings.gradle:include ':react-native-zebra-barcode' project(':react-native-zebra-barcode').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zebra-barcode/android') - Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-zebra-barcode')
Usage
import RNZebrabarcode from 'react-native-zebra-barcode';
// TODO: What to do with the module?
RNZebrabarcode;0.1.1-rc0.3
6 years ago
0.1.1-rc0.2
6 years ago
0.1.1-rc0.1
6 years ago
0.1.1-rc0
6 years ago
0.1.0
6 years ago