Hi I build a simple App in Swift following the documentation https://developer.estimote.com/proximity/ios-tutorial/ but when running does not detect a beacon
download your example and detect the beacons without problems, copy and paste each configuration, and part of the code and still does not detect anything,
Any step that is jumping or configuration that prevents me from detecting beacons?
ViewController
MyAppID was changed for the post
import UIKit
import EstimoteProximitySDK
class LugarActualViewController: UIViewController {
var proximityObserver: EPXProximityObserver!
override func viewDidLoad() {
super.viewDidLoad()
let cloudCredentials = EPXCloudCredentials(appID: "My AppID",appToken:
"MYAPPTOKEN")
self.proximityObserver = EPXProximityObserver(
credentials: cloudCredentials,
errorBlock: { error in
print("proximity observer error: \(error)")
})
let blueberryZone = EPXProximityZone(range: EPXProximityRange.custom(desiredMeanTriggerDistance: 0.5)!,
attachmentKey: "floor",
attachmentValue: "1st")
blueberryZone.onEnterAction = { attachment in
print("Enter blueberry (close range)")
}
blueberryZone.onExitAction = { attachment in
print("Exit blueberry (close range)")
}
// Do any additional setup after loading the view.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
the info.plis is OK
and the Background modes is ON