I ask Bluejay to listen to a service and it stops directly after starting to listen with message
Will start listening to Characteristic: 9AFABEDB-50F5-4766-8EE1-709073D6EB08, Service: 9AFAABCD-50F5-4766-8EE1-709073D6EB08 on NOTIOFE46EEBB.
Listening to Characteristic: 9AFABEDB-50F5-4766-8EE1-709073D6EB08, Service: 9AFAABCD-50F5-4766-8EE1-709073D6EB08 on NOTIOFE46EEBB.
Queue has removed Bluejay.ListenCharacteristic because it has finished.
Queue is empty, nothing to update.
Steps to Reproduce:
make a listen request
Actual Result:
it starts then stops
Expected Result:
expected to listen till requested to not listen anymore.
Summary:
I ask Bluejay to listen to a service and it stops directly after starting to listen with message
Will start listening to Characteristic: 9AFABEDB-50F5-4766-8EE1-709073D6EB08, Service: 9AFAABCD-50F5-4766-8EE1-709073D6EB08 on NOTIOFE46EEBB. Listening to Characteristic: 9AFABEDB-50F5-4766-8EE1-709073D6EB08, Service: 9AFAABCD-50F5-4766-8EE1-709073D6EB08 on NOTIOFE46EEBB. Queue has removed Bluejay.ListenCharacteristic because it has finished. Queue is empty, nothing to update.
Steps to Reproduce:
make a listen request
Actual Result: it starts then stops
Expected Result:
expected to listen till requested to not listen anymore.
Device, Build, OS: iPhone 11 max, iOS 14, default cocoa pod package
let requestedChar = CharacteristicIdentifier(uuid: NotioModel.signalLiveData, service: ServiceIdentifier(uuid: NotioModel.SignalsService))
bluejay.listen(to: requestedChar, multipleListenOption: .replaceable) {[weak self] (result: ReadResult) in
print("Signals update")
switch result {
case .success(let signals):
self?.liveSignals = signals
case .failure(let err):
print("Error: (err)")
}
}