expo-beacon 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,6 +13,11 @@ extension ExpoBeaconModule {
|
|
|
13
13
|
let work = DispatchWorkItem { [weak self] in
|
|
14
14
|
guard let self = self else { return }
|
|
15
15
|
self.beaconTimeoutTimers.removeValue(forKey: identifier)
|
|
16
|
+
self.enteredRegions.remove(identifier)
|
|
17
|
+
self.enterCounters.removeValue(forKey: identifier)
|
|
18
|
+
self.exitCounters.removeValue(forKey: identifier)
|
|
19
|
+
self.lastSeenTimes.removeValue(forKey: identifier)
|
|
20
|
+
self.smoothedDistances.removeValue(forKey: identifier)
|
|
16
21
|
self.sendLoggedEvent("onBeaconTimeout", self.makeBeaconEventParams(identifier: identifier, beacon: beacon, region: region))
|
|
17
22
|
self.postBeaconNotification(identifier: identifier, eventType: "timeout")
|
|
18
23
|
}
|
|
@@ -34,6 +39,11 @@ extension ExpoBeaconModule {
|
|
|
34
39
|
let work = DispatchWorkItem { [weak self] in
|
|
35
40
|
guard let self = self else { return }
|
|
36
41
|
self.eddystoneTimeoutTimers.removeValue(forKey: identifier)
|
|
42
|
+
self.eddystoneEnteredRegions.remove(identifier)
|
|
43
|
+
self.eddystoneEnterCounters.removeValue(forKey: identifier)
|
|
44
|
+
self.eddystoneExitCounters.removeValue(forKey: identifier)
|
|
45
|
+
self.eddystoneLatestSeen.removeValue(forKey: identifier)
|
|
46
|
+
self.smoothedDistances.removeValue(forKey: identifier)
|
|
37
47
|
self.sendLoggedEvent("onEddystoneTimeout", [
|
|
38
48
|
"identifier": identifier,
|
|
39
49
|
"namespace": namespace,
|