SwiftSDK
SwiftSDK copied to clipboard
Signals not being sent in when SignalManager.init called from a background queue
Found an interesting issue in Swift Client 1.5.1: our signals did not get send from Simulator and debugging showed that the timer scheduled in SignalManager.swift:64 did not fire.
SignalManager.init was called from a background queue. Making the calling code a MainActor fixed it. Assumption is that the timer gets removed when the task on the queue finishes.
Did not further investigate but maybe you want to have a look.