$ npm install @oniku/react-native-zebra-rfid --save
-
Check minSdkVersion in
android/build.gradle
:buildscript { ... ext { ... minSdkVersion = 19 } }
-
Insert the following lines inside the dependencies block in
android/build.gradle
:allprojects { repositories { ... flatDir { dirs "$rootDir/../node_modules/@oniku/react-native-zebra-rfid/android/libs" } } }
see example.