Closed kscheff closed 1 year ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: philips77
:x: Kai Scheffer
I see that #70 brings the same changes. So I close this PR.
Reflect notification status
.isNotifying
back and make delegatedidUpdateNotificationStateFor
for mock implementation available.When enabling a notification and sending data via
.simulateValueUpdate
the data is getting lost until the manager caught up with the enabling. Since the enabling is sent async with a delay to an internal queue it takes an uncertain time until data will be sent. The characteristics property.isNotifying
is not updated in mock device implementation.This fix implements a mock delegation
didUpdateNotoficationStateFor:
and updates.isNotifying
property.