Estimote/iOS-Fleet-Management-SDK

ESTMonitoringV2Manager not detecting beacons

Closed this issue · 3 comments

I installed version 4.20 today via CocoaPods (had to use git, was not available in pod repo):
pod 'EstimoteSDK', :git => 'https://github.com/Estimote/iOS-SDK.git', :commit => '51c0bf3'

  • I have set up my Info.plist for all location and bluetooth monitoring.

  • My AppDelegate implements the ESTMonitoringV2ManagerDelegate protocol.

  • My didEnter..., didExit..., and didFail delegate methods are in place, and they are not being triggered, which must mean I am not detecting the beacon.

  • The following is in my didFinishLaunching:

ESTConfig.setupAppID("my-app-id", andAppToken: "my-app-token")
let monitoringManager = ESTMonitoringV2Manager(desiredMeanTriggerDistance: 1.0, delegate: self)
monitoringManager.startMonitoring(forIdentifiers: ["my-beacon-identifier"])

The documentation on the ESTMonitoringManager and the ESTMonitoringV2Manager seem to be pretty light. Am I missing something that I need to get this working?

Facing the exact same problem.

Hey, @ademars94, @stephandue, there's a couple of things you can check:

Have you tried using Estimote Cloud app templates? They should work out of the box - you only need to configure the provisioning profile: https://cloud.estimote.com/#/apps/add/notification

@airalex I replaced the strings in my code snippet with generic values as to not expose them on GitHub. Our application is using the keys from Estimote Cloud. The beacons are configured to use Estimote Monitoring, as they are working with v1 Monitoring. Bluetooth is definitely on.

I am hoping you might be able to point me in the direction of some proper documentation for the v2 Monitoring API. I have seen the class reference, but that is just method signatures and doesn't really show how to implement v2 Monitoring.