react-native-pax-print-module

1.1.3 • Public • Published

react-native-pax-a920-print-module

Getting started

$ npm install react-native-pax-a920-print-module --save

Mostly automatic installation

$ react-native link react-native-pax-a920-print-module

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-pax-a920-print-module and add RNPaxA920PrintModule.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNPaxA920PrintModule.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.RNPaxA920PrintModulePackage; to the imports at the top of the file
  • Add new RNPaxA920PrintModulePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-pax-a920-print-module'
    project(':react-native-pax-a920-print-module').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-pax-a920-print-module/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-pax-a920-print-module')
    

Windows

Read it! :D

  1. In Visual Studio add the RNPaxA920PrintModule.sln in node_modules/react-native-pax-a920-print-module/windows/RNPaxA920PrintModule.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Pax.A920.Print.Module.RNPaxA920PrintModule; to the usings at the top of the file
  • Add new RNPaxA920PrintModulePackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNPaxA920PrintModule from 'react-native-pax-a920-print-module';
 
// TODO: What to do with the module?
RNPaxA920PrintModule;

Readme

Keywords

Package Sidebar

Install

npm i react-native-pax-print-module

Weekly Downloads

1

Version

1.1.3

License

ISC

Unpacked Size

33.3 MB

Total Files

64

Last publish

Collaborators

  • edecamps