Estimote / iOS-Proximity-SDK

Estimote Proximity SDK for iOS
https://developer.estimote.com
Apache License 2.0
61 stars 27 forks source link

No devices assigned to 'tag name' #28

Closed irvingdp closed 6 years ago

irvingdp commented 6 years ago

I have set 6 zones and assign tag name ad range_1, range_3, range_6, range_10, range_15, range_20. and also set range as 1,3,6,10,15,20 meter by customRangeWithDesiredMeanTriggerDistance.

My estimote cloud account assigned only a beacon and set tag name to range_6, after I start Observing Zones on iphone 6s, I always saw a log say 'No devices assigned to range_1' and no any onEnter & onExit & onContextChange event triggered. (I expected the event should be triggered, and return the tag range_6) , please help to investigate the issue. thanks.

chwastek commented 6 years ago

hey @irvingdp If I get it right, you probably wanna trigger enter/exit callbacks for one beacon at different ranges/distances? If so, then:

Proximity SDK will not fire up observing zones if you provide even one zone without at least one device assigned to it. That is why you're getting an error No devices assigned to range_1. You will get similar logs and errors until all zones in

proximityObserver.startObserving(zones)

will have minimum one device assigned.

chwastek commented 6 years ago

sorry for closing, accidentally clicked 😅

irvingdp commented 6 years ago

finally, I set all tags to a dummy beacon to resolve the problem. thanks.