V
V
Vadim V2020-05-29 13:44:03
React Native
Vadim V, 2020-05-29 13:44:03

How to use react-native-bluetooth-serial?

I'm trying to set up the react-native-bluetooth-serial plugin. But it seems that it has not been supported by new versions of react-native for a long time. I have not tried it on satry versions yet, but that's the essence of the problem.
I am importing BluetoothSerial

import BluetoothSerial from "react-native-bluetooth-serial";

In the plugin, this is NativeModules.BluetoothSerial from react-native, but in the new version of BluetoothSerial it is not undefined.
Someone worked with this react-native-bluetooth-serial library, maybe it can help how to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question