0

Newbie here. I am trying to make a hybrid mobile app in flutter that will detect nearby Bluetooth devices based on some unique ID. I want to read that unique ID from the endpoint and compare it onto the DBMS. I want this for both android as well as iOS.

For reference following code is from nearby_connections plugin but is only for android. https://pub.dev/packages/nearby_connections

    bool a = await Nearby().startDiscovery(loggedInUser.email, strategy,
    onEndpointFound: (id, name, serviceId) async {
    print('I saw id:$id with name:$name');

1 Answers1

1

This flutter package seems compatible with Android and iOS, mayb you can try it : https://pub.dev/packages/flutter_nearby_connections

woprandi
  • 749
  • 4
  • 15