Skip to content

Conversation

@gpunto
Copy link
Contributor

@gpunto gpunto commented Dec 3, 2025

Goal

AND-927

In #154 we introduced fetching & caching of feed own capabilities, to remedy the fact that they're empty in ActivityData.currentFeed on the activity added event. Now the backend allows us to fetch also other own data, i.e. follows & membership, so we're extending the logic to handle those too.

Implementation

Basically, wherever we were dealing with capabilities in #154, we now deal with FeedOwnValues instead. The logic is otherwise the same.

Testing

You can add some logging to log the own properties of ActivityData.currentFeed, then add an activity (thus triggering the activity.added event) and verifying that those own properties are enriched correctly

Checklist

  • Issue linked (if any)
  • Tests/docs updated
  • I have signed the Stream CLA (required for external contributors)

@gpunto gpunto added the pr:new-feature New feature label Dec 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled.

🎉 Great job! This PR is ready for review.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-feeds-android-client 2.39 MB 2.39 MB 0.00 MB 🟢

@gpunto gpunto force-pushed the and-927/cache-own-all branch from 3579f79 to eb31d19 Compare December 3, 2025 11:21
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2025

@gpunto gpunto marked this pull request as ready for review December 4, 2025 15:02
@gpunto gpunto marked this pull request as draft December 4, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:new-feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants