1.2.6 • Published 4 years ago
rn-usbmodule-library v1.2.6
react-native-usb-module-library
Getting started
$ npm install react-native-usb-module-library --save
Mostly automatic installation
$ react-native link react-native-usb-module-library
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNUsbModuleLibraryPackage;
to the imports at the top of the file - Add
new RNUsbModuleLibraryPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-usb-module-library' project(':react-native-usb-module-library').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-usb-module-library/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-usb-module-library')
Usage
import RNUsbModuleLibrary from 'react-native-usb-module-library';
// TODO: What to do with the module?
RNUsbModuleLibrary;
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.35
4 years ago
1.1.34
4 years ago
1.1.33
4 years ago
1.1.32
4 years ago
1.1.31
4 years ago
1.1.30
4 years ago
1.1.29
4 years ago
1.1.28
4 years ago
1.1.27
4 years ago
1.1.26
4 years ago
1.1.25
4 years ago
1.1.24
4 years ago
1.1.23
4 years ago
1.1.19
4 years ago
1.1.22
4 years ago
1.1.21
4 years ago
1.1.20
4 years ago
1.1.18
4 years ago
1.1.17
4 years ago
1.1.16
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.12
4 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.13
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago