0
votes

By looking in the API of CLLocationManager for Beacon, it seems that we can only monitoring and ranging known Beacons. It means, our application must know all UUID of Beacons to monitor.

Is it possible to monitor an unknown Beacon? So we can dynamically add new Beacons in the list.

1

1 Answers

2
votes

It means, our application must know all UUID of Beacons to monitoring.

Yes, that's right.

Is it possible to monitor an unknown Beacon?

No, iOS doesn't provide a mechanism to find beacons that you don't know about.

So we can dynamically add new Beacons in the list.

You can certainly change the set of beacons that you're monitoring; you just need some way to find out about them first. For example, your app could periodically pull a list of known beacon ID's from your server. What you cannot do is scan for all beacons in proximity of the device. In short, you need a beacon's UUID in order to monitor it.

Many beacons can share the same UUID, so it's not like your app needs prior knowledge of every individual beacon that you might use. If you add another beacon with the same UUID to the environment, any existing app that knows about the UUID will be able to find the new beacon.