README
react-native-core-fullrfid-android-test
Getting started
$ npm install react-native-core-fullrfid-android-test --save
Mostly automatic installation
$ react-native link react-native-core-fullrfid-android-test
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.regula.documentreader.core.fullrfid.android.RNCoreFullrfidAndroidTestPackage;
to the imports at the top of the file - Add
new RNCoreFullrfidAndroidTestPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-core-fullrfid-android-test' project(':react-native-core-fullrfid-android-test').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-core-fullrfid-android-test/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-core-fullrfid-android-test')
Usage
import RNCoreFullrfidAndroidTest from 'react-native-core-fullrfid-android-test';
// TODO: What to do with the module?
RNCoreFullrfidAndroidTest;