react-native-mantra-fingerprint-scanner

1.0.98 • Public • Published

react-native-mantra-fingerprint-scanner

Getting started

$ npm install react-native-mantra-fingerprint-scanner --save

Mostly automatic installation

$ react-native link react-native-mantra-fingerprint-scanner

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

Windows

Read it! :D

  1. In Visual Studio add the RNMantraFingerprintScanner.sln in node_modules/react-native-mantra-fingerprint-scanner/windows/RNMantraFingerprintScanner.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Mantra.Fingerprint.Scanner.RNMantraFingerprintScanner; to the usings at the top of the file
  • Add new RNMantraFingerprintScannerPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNMantraFingerprintScanner from 'react-native-mantra-fingerprint-scanner';
 
// TODO: What to do with the module?
RNMantraFingerprintScanner;

Readme

Keywords

Package Sidebar

Install

npm i react-native-mantra-fingerprint-scanner

Weekly Downloads

104

Version

1.0.98

License

ISC

Unpacked Size

16.2 MB

Total Files

316

Last publish

Collaborators

  • ramanathan-edu