GetStream / stream-swift

Swift client for Stream API
https://getstream.io
BSD 3-Clause "New" or "Revised" License
35 stars 26 forks source link

❌ flatfeed.add completion block never executed! #45

Open SAleksiev opened 2 years ago

SAleksiev commented 2 years ago

What did you do?

I am calling flatbed.add by passing the activity which I would like to add.

What did you expect to happen?

The completion block is executed and it goes into the .success case.

What happened instead?

The code goes out of guard when checking for self object. Due to that fact, the completion block is never executed.

GetStream Environment

GetStream version: 2.2.5 Xcode version: 13.4.1 Swift version:5 Platform(s) running GetStream: macOS version running Xcode:Monterey 12.6

Additional context

However, that's happening only in code. When I check the get stream.io platform I can see that my activity is added successfully to the chosen feed id.