COVIDSafe code from version 2.4 (#45)

This commit is contained in:
COVIDSafe Support 2021-02-25 19:41:20 -08:00 committed by GitHub
parent f14aa60482
commit 377bc0009b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) {