@voturfid/react-native-bluetooth-classic
Version:
Implement bluetooth classic (serial) on Android (Bluetooth Adapter) and IOS (External Accessory)
8 lines (7 loc) • 389 B
JavaScript
import { NativeModules } from "react-native";
import BluetoothDevice from "./BluetoothDevice";
import BluetoothError from "./BluetoothError";
import { BluetoothEventType, } from "./BluetoothEvent";
import BluetoothModule from "./BluetoothModule";
export default new BluetoothModule(NativeModules.RNBluetoothClassic);
export { BluetoothDevice, BluetoothError, BluetoothEventType, };