Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

How can I make two phones running the same app communicate through bluetooth

$
0
0

I would like to build an app in which a smartphone(using any OS) can discover other smartphones in the surroundings using Bluetooth. I know this can be probably achieved using BLE.However, I would like to a communication, in which the devices can "ping" each other through Bluetooth by pressing a button within the app. The app should display something on both devices(think an image) for a few seconds if the button in both devices is pressed at the same time. For this, I assume BLE is not enough as it does not support communication between two smartphones and the BLE central and peripheral model does not seem to fit my aim.I'm new to app development and while I found multiple questions on this, they are pretty old. Please give me pointers to libraries/resources which would help me achieve this.


Viewing all articles
Browse latest Browse all 16552

Trending Articles