COVIDSafe code from version 2.3

This commit is contained in:
COVIDSafe Support 2021-02-25 19:41:20 -08:00 committed by covidsafe-support
parent f14aa60482
commit e577a9e7aa
63 changed files with 3096 additions and 372 deletions

View file

@ -123,6 +123,7 @@ class ConcreteBLESensor : NSObject, BLESensor, BLEDatabaseDelegate {
transmitter.stop()
receiver.stop()
// BLE transmitter and receivers stops on powerOff event
delegates.forEach({ $0.sensor(.BLE, didUpdateState: .off) })
}
func add(delegate: SensorDelegate) {