Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support multiple patches sources #2309

Open
3 tasks done
oSumAtrIX opened this issue Nov 12, 2024 · 2 comments
Open
3 tasks done

feat: Support multiple patches sources #2309

oSumAtrIX opened this issue Nov 12, 2024 · 2 comments
Assignees
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@oSumAtrIX
Copy link
Member

Feature description

Currently, ReVanced Manager uses API v4 to retrieve patches from a single source. Adding support for multiple patches sources would allow users to simultaneously consume patches from various APIs. For simplicity, the settings could be restructured to accommodate this functionality. For example, an "Additional patches" field could be added next to the current "API URL" option in the settings.

ReVanced Manager would then query the endpoint https://api.revanced.app/v4/patches/version to check for patch updates and, if available, download them from https://api.revanced.app/v4/patches. The patch loader would process a list of patch files instead of just one, combining patches from all provided sources into a single list of patches. From here on, everything else works the same since it's a single list like before.

Patches card on the home may display multiple cards, one for each patches source and the patch selector screen since patches from multiple sources will have different versions.

Motivation

With this feature, users can use multiple sources at a time. For example, patches dedicated to specific apps can be used next to other patches dedicated to other apps.

Acknowledgements

  • I have checked all open and closed feature requests and this is not a duplicate.
  • I have chosen an appropriate title.
  • The feature request is only related to ReVanced Manager.
@oSumAtrIX oSumAtrIX added the Feature request Requesting a new feature that's not implemented yet label Nov 12, 2024
@PandaIN95
Copy link

@oSumAtrIX Additionally, we could provide an option to select the patch version. If any issue occurs with the latest patch, users can rebuild the apk using old versions of patches.

@oSumAtrIX
Copy link
Member Author

Versioning isn't implemented as a concept. The user should always use the latest version. For debugging or development purposes you can use older releases directly from GitHub and ReVanced CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature that's not implemented yet
Projects
None yet
Development

No branches or pull requests

4 participants