1.1.24 • Published 10 months ago
react-native-ipos-printer v1.1.24
react-native-react-native-ipos-printer
Getting started
$ npm install react-native-react-native-ipos-printer --save
Mostly automatic installation
$ react-native link react-native-react-native-ipos-printer
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-react-native-ipos-printer
and addRNReactNativeIposPrinter.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNReactNativeIposPrinter.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.RNReactNativeIposPrinterPackage;
to the imports at the top of the file - Add
new RNReactNativeIposPrinterPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-react-native-ipos-printer' project(':react-native-react-native-ipos-printer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-react-native-ipos-printer/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-react-native-ipos-printer')
Windows
- In Visual Studio add the
RNReactNativeIposPrinter.sln
innode_modules/react-native-react-native-ipos-printer/windows/RNReactNativeIposPrinter.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using React.Native.Ipos.Printer.RNReactNativeIposPrinter;
to the usings at the top of the file - Add
new RNReactNativeIposPrinterPackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
import RNReactNativeIposPrinter from 'react-native-react-native-ipos-printer';
// TODO: What to do with the module?
RNReactNativeIposPrinter;
1.1.23
10 months ago
1.1.24
10 months ago
1.1.22
2 years ago
1.1.19
2 years ago
1.1.21
2 years ago
1.1.20
2 years ago
1.1.18
2 years ago
1.1.16
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.17
2 years ago
1.1.12
3 years ago
1.1.13
3 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago