feat(settings): add "Refresh Addons" to sync latest changes (#404) - #511
Merged
ProdigyV21 merged 3 commits intoAug 9, 2026
Merged
Conversation
…digyV21#404) - Add refreshInstalledAddons() in StreamRepository to re-fetch custom addon manifests, clear stream caches, and preserve user preferences. - Add refreshAddons() in SettingsViewModel to pull remote cloud profile state, refresh addons, and resync catalogs. - Mobile UI: Add gesture-based pull-down refresh with stock loader and small italic 'Pulling latest addon' text. - TV UI: Add focusable 'Refresh Addons' button row before 'Add Addon'. Closes ProdigyV21#404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #404
Summary
Adds a "Refresh Addons" feature to allow users to sync latest addon changes for their active profile without restarting the application or profile.
Key Changes
refreshInstalledAddons()re-fetches and hydrates manifests for all installed custom Stremio addons.isEnabled,isInstalled,id, ordering).streamResultCache,resolvedStreamCache,streamAddonsCache) and removes the active profile's persisted disk cache bundle.AddonRefreshReport(refreshed, failed).refreshAddons()pulls remote cloud profile snapshot (pushPendingLocalFirst = false) when signed in.catalogRepository.syncAddonCatalogs().Verification
./gradlew assembleSideloadDebug(BUILD SUCCESSFUL).127.0.0.1:6555).