A handful of APIs are available to make patch development easier and more efficient.
context.proxy(ClassDef)
BytecodeContext.findClass(Predicate)
BytecodeContext.toMethodWalker(Method)
BytecodeUtils
and ResourceUtils
with certain applications (Available in ReVanced Patches)ResourceContext.get(Path, Boolean)
ResourceContext.document
Patch.options
[!WARNING] This section is still under construction and may be incomplete.
ReVanced Patcher is a powerful library to patch Android applications, offering a rich set of APIs to develop patches that outlive app updates. Patches make up ReVanced; without you, the community of patch developers, ReVanced would not be what it is today. We hope that this documentation has been helpful to you and are excited to see what you will create with ReVanced Patcher. If you have any questions or need help, talk to us on one of our platforms linked on revanced.app or open an issue in case of a bug or feature request,
ReVanced