ios-nearby icon indicating copy to clipboard operation
ios-nearby copied to clipboard

How to scan for Eddystone's UID?

Open ritesh124 opened this issue 6 years ago • 1 comments

In Android there is a function which can filter the google nearby messages for a particular Eddystone or iBeacon id. i.e.

MessageFilter messageFilter = new MessageFilter.Builder()
  .includeEddystoneUids(MY_EDDYSTONE_UID_NAMESPACE, null /* any instance */)
  .build();

How do we do that in iOS? Function provided is below:

let beaconSubscription = messageManager.subscriptionWithMessageFoundHandler(
    myMessageFoundHandler, messageLostHandler: myMessageLostHandler,
    paramsBlock: { (params: GNSSubscriptionParams!) in
      params.deviceTypesToDiscover = .BLEBeacon
      params.messageNamespace = "com.mycompany.mybeaconservice"
      params.type = "mybeacontype"
    })

Basically in Android its simple, we just give the particular Eddystone UID & bam. But in iOS I need help.

ritesh124 avatar Sep 26 '18 12:09 ritesh124

Hi, this is also important for our use case, anyone in Nearby team working on this?

felipesanti avatar Mar 03 '19 21:03 felipesanti