I am developing an application in flutter where people in the vicinity can connect to each other in a single room and exchange messages. The app should work like this:
- A user creates the room (Advertiser)
- All other users (Browser) connect to the advertiser.
- Once connected, you exchange messages passing through the advertiser.
The perfect package to do this is google connect nearby: https://pub.dev/packages/flutter_nearby_connections
But it only works between android-android and ios-ios, it is not cross platform.
Now I have also thought of a solution that used the package with bluetooth, but I don't think it is possible to make ONLY the Advertiser user show himself to the others, avoiding that during the search everyone is seen and not knowing who to connect to.
If anyone has any advice for the realization of such a cross platform structure, (avoiding databases) it would be of great help!
Thank you!