NordicSemiconductor / IOS-CoreBluetooth-Mock

Mocking library for CoreBluetooth framework.
BSD 3-Clause "New" or "Revised" License
225 stars 51 forks source link

too many mock advertising notifications are sent ... #75

Closed kscheff closed 1 year ago

kscheff commented 2 years ago

... when .scanForPeripherals are called.

Each call to CBMCentralManagerMock.scanForPeripherals creates a new repeating timer. This leads to flooding notifications the app. This stops only when the app stops scanning so the timers will tear down themselves.