1.1.24 • Published 10 months ago

react-native-ipos-printer v1.1.24

Weekly downloads
104
License
-
Repository
-
Last release
10 months ago

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

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-react-native-ipos-printer and add RNReactNativeIposPrinter.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNReactNativeIposPrinter.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. 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 the getPackages() method
  1. 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')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-react-native-ipos-printer')

Windows

Read it! :D

  1. In Visual Studio add the RNReactNativeIposPrinter.sln in node_modules/react-native-react-native-ipos-printer/windows/RNReactNativeIposPrinter.sln folder to their solution, reference from their app.
  2. 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 the List<IReactPackage> returned by the Packages 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