1.0.22 • Published 18 days ago
react-native-bluetooth-datecs-printer v1.0.22
react-native-bluetooth-datecs-printer
Getting started
$npm install react-native-bluetooth-datecs-printer --save
Mostly automatic installation
$ react-native link react-native-datecs-connector
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java
- Add
import br.com.masfe.rnbluetoothdatecsprinter.RNBluetoothDatecsPrinterPackage
to the imports at the top of the file
Append the following lines to
android/settings.gradle
:include ':react-native-bluetooth-datecs-printer' project(':react-native-bluetooth-datecs-printer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-bluetooth-datecs-printer/android')
Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':react-native-bluetooth-datecs-printer')
Insert the following lines inside the
android/app/serc/main/AndroidManifest.xml
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
Usage
import { RNBluetoothDatecsPrinter } from 'react-native-bluetooth-datecs-printer';
1.0.22
18 days ago
1.0.19
5 months ago
1.0.18
5 months ago
1.0.21
5 months ago
1.0.20
5 months ago
1.0.17
5 months ago
1.0.16
5 months ago
1.0.15
5 months ago
1.0.11
5 months ago
1.0.10
5 months ago
1.0.14
5 months ago
1.0.13
5 months ago
1.0.12
5 months ago
1.0.9
6 months ago
1.0.8
6 months ago
1.0.7
6 months ago
1.0.6
6 months ago
1.0.5
6 months ago
1.0.4
6 months ago
1.0.3
6 months ago
1.0.2
6 months ago
1.0.1
6 months ago
1.0.0
6 months ago