Users find users

I’m looking to make an app where users get an audible notification when other users are within range. At first I considered using device GPS location. But I figured since GPS has such a long range. It could potentially be used for nefarious reasons. So I opted to use device discoverability instead because the range on that is shorter. So how would I use device discoverability to allow users find other nearby users?.

You have to manipulate your users’ device’s BLE functionality for this.
Can be done, but I’m not sure if there’s a plugin for this yet.
Most browsers do have an API for this that JS can use on the client side.

Here’s the code-y version of it for reference: Communicating with Bluetooth devices over JavaScript