alexkendall / react-native-bluetooth-cross-platform

Cross-Platform Bluetooth & WiFi React Native Module. Powered by underdark http://underdark.io/.
179 stars 35 forks source link

Posibility to develop apps #13

Closed merby04 closed 6 years ago

merby04 commented 7 years ago

Can this library to work connection between android devices ? to send data string or json ? like bluetooth chat ?

Thanks

alexkendall commented 7 years ago

@x5c Yes. Given you know the peer id, sendMessage(message: string, peerId: string) will send a string to that device. However you encode that string is up to you.