[Solved] Can flutter_beacon package be used to make Social Distancing app in Flutter?


In order for two phones to detect each other with BLE beaconing you need them to do two things:

  1. Advertise a beacon over BLE
  2. Scan for beacons over BLE

But flutter_beacon only does item 2 above. For item 1, you need another package. Try beacon_broadcast:

https://pub.dev/packages/beacon_broadcast

You need to do both at once.

If you use these, you can build a social distancing app on Android and iOS, but it will only work on iOS in the foreground as beaconing stops in the background on that platform.

2

solved Can flutter_beacon package be used to make Social Distancing app in Flutter?