Posts

Showing posts with the label bluetooth

Bluetooth Printing in React Native

Is it possible to connect to thermal receipt printer via Bluetooth in react native? If yes the how to connect receipt printer via Bluetooth in react native? Yes it's possible to connect a React Native app to Printer via Bluetooth. The package called react-native-ble-plx allows you to do so. Read their documentation at Github.io You can also try react-native-ble-manager : Full source code can be found here.

Bluetooth in react-native

My project requires to receive&send bluetooth signal, and I am pretty new to react-native so which component I can use in react-native for bluetooth related functionality? Update (with disclaimer) : Since I gave the original answer, things have changed. In my company (Polidea) since we realised there is no very good library for React Native for BT we developed and fully open-sourced (permissive licence) our own solution. It's based on two RX-based Android and iOS native libraries and we wrote a common React Native wrapper around it so that you can use the same Javascript/RN interface but under the hood native iOS/Android specifics are handled in native code. The library is here: https://github.com/Polidea/react-native-ble-plx Disclaimer: I am a Principal Software Engineer and former CTO @Polidea - the company that created the library. Original answer: I don't think there is a built-in component for bluetooth access in RN. If you want to use Bluetooth...