react-native-document-reader-core-test
v4.2.2
Published
React native module for core of framework for identification documents reading and validation.
Downloads
3
Readme
react-native-core-fullrfid-test
All instructions at https://www.npmjs.com/package/react-native-document-reader-api
Auto generated:
Getting started
$ npm install react-native-document-reader-core-NAMEOFCORE --save
Mostly automatic installation
$ react-native link
or
$ react-native link react-native-document-reader-core-NAMEOFCORE
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-document-reader-core-NAMEOFCORE
and addRNCoreFullrfidTest.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNCoreFullrfidTest.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.regula.documentreader.core.fullrfid.RNCoreFullrfidTestPackage;
to the imports at the top of the file - Add
new RNCoreFullrfidTestPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-document-reader-core-NAMEOFCORE' project(':react-native-document-reader-core-NAMEOFCORE').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-document-reader-core-NAMEOFCORE/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-document-reader-core-NAMEOFCORE')
Usage
import RNCoreFullrfidTest from 'react-native-document-reader-core-NAMEOFCORE';
// TODO: What to do with the module?
RNCoreFullrfidTest;