stream-feed-flutter
stream-feed-flutter copied to clipboard
[Help] limit of withRecentReactions
Hello,
I'd like to do similar to what slack does with comment, tap and hold a reaction and see more info of it - who are the users that reacted with that one.
Right now I have a feed & activities & using flags: EnrichmentFlags().withOwnReactions().withReactionCounts()
I can see my own reactions + reactions count but no detailed info.
I have a couple of questions:
-
As far as I understood to get the user info of reactions we will need to call
withRecentReactions
- however the default limit is 10, but is the max really 25 only? -
I also don't know how to offset this so after first 10 we get the next 10?
Is there maybe any other way build this, I'm probably missing something in the docs as its a common thing I assume getting only 25 latest seems a bit odd?
Hello there,
I agree with @nmarko91 ... i find very strange to only be able to fetch 25 reactions for an activity. Is there any plan to remove this limit ? Any Feed showing some activities should expect a lot more than 25 reactions.
Thank you very much for your help
Hello,
The Future<List<Reaction>> filter(...)
(reactions_clients.dart) method contains a limit
field which by default is 25.
I modified this field but the result still returns 25.
Mb, the maximum limit is 25.
Doc : https://getstream.io/activity-feeds/docs/flutter-dart/reactions_introduction/?language=dart
You have to make several requests to get all the reactions. There are no alternative solutions according to the support.