I am trying to retrieve single activity with id but I can't reach latest reactions and own reactions. I ve tried to fetched with channel code but at some point I don't have that information. We should have parameter such as includeReactions for get method over FlatFeed. Here is my code piece to fetch single activity without channel code (there is no parameter to specify if should fetch reactions etc for current get method).
Client.shared.get(typeOf: T.self, activityIds: [id]) { (result) in
switch result {
case .success(let response):
success(response.results.first)
case .failure(let error):
failure?(error)
}
}
What did you expect to happen?
Expected to have reactions while fetching single activity without channel code.
What happened instead?
We couldn't access latest & own reactions while fetching single activity.
GetStream Environment
GetStream version: 2.2.3
Xcode version: 12.4
Swift version: 5.0
Platform(s) running GetStream: iOS
macOS version running Xcode: BigSur 11.0.1
What did you do?
I am trying to retrieve single activity with id but I can't reach latest reactions and own reactions. I ve tried to fetched with channel code but at some point I don't have that information. We should have parameter such as includeReactions for get method over FlatFeed. Here is my code piece to fetch single activity without channel code (there is no parameter to specify if should fetch reactions etc for current get method).
What did you expect to happen?
Expected to have reactions while fetching single activity without channel code.
What happened instead?
We couldn't access latest & own reactions while fetching single activity.
GetStream Environment
GetStream version: 2.2.3 Xcode version: 12.4 Swift version: 5.0 Platform(s) running GetStream: iOS macOS version running Xcode: BigSur 11.0.1
Additional context