GetStream / stream-swift

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

Docs are out of date #38

Open sgammon opened 2 years ago

sgammon commented 2 years ago

What did you do?

I followed the documentation exactly, in multiple places it is mentioned to initialize the Stream Swift client like this:

Client.config = .init(apiKey: "<#ApiKey#>", appId: "<#AppId#>", token: "<#Token#>")

It mentions this:

What did you expect to happen?

I expected the documentation to be useful and accurate

What happened instead?

It turns out the API interface has changed, as depicted here, so my application broke with a bunch of compile-time errors, despite using the latest version of the package and following the documentation exactly

GetStream Environment

GetStream version: Latest Xcode version: Latest Swift version: Latest Platform(s) running GetStream: iOS / Web macOS version running Xcode: Latest

tahoecoop commented 2 years ago

@sgammon Hey Sam, any resolution to this? Did you get the feed working using the GetStreamActivityFeed package? Thank you!