@infiniteesoftware/react-native-rfid-barcode-zebra
v1.0.0
Published
## Getting started
Downloads
4
Readme
react-native-rfid-barcode-zebra
Getting started
$ npm install react-native-rfid-barcode-zebra --save
Mostly automatic installation
$ react-native link react-native-rfid-barcode-zebra
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-rfid-barcode-zebra
and addRNRfidBarcodeZebra.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNRfidBarcodeZebra.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNRfidBarcodeZebraPackage;
to the imports at the top of the file - Add
new RNRfidBarcodeZebraPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-rfid-barcode-zebra' project(':react-native-rfid-barcode-zebra').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-rfid-barcode-zebra/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-rfid-barcode-zebra')
Windows
- In Visual Studio add the
RNRfidBarcodeZebra.sln
innode_modules/react-native-rfid-barcode-zebra/windows/RNRfidBarcodeZebra.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using Rfid.Barcode.Zebra.RNRfidBarcodeZebra;
to the usings at the top of the file - Add
new RNRfidBarcodeZebraPackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
import RNRfidBarcodeZebra from 'react-native-rfid-barcode-zebra';
// TODO: What to do with the module?
RNRfidBarcodeZebra;