mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-07 07:34:25 +02:00

Fingerprints can now be matched easily without adding them to a patch first. BREAKING CHANGE: Many APIs have been changed.
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# 💪 Advanced APIs
|
|
|
|
A handful of APIs are available to make patch development easier and more efficient.
|
|
|
|
## 📙 Overview
|
|
|
|
1. 👹 Create mutable replacements of classes with `proxy(ClassDef)`
|
|
2. 🔍 Find and create mutable replaces with `classBy(Predicate)`
|
|
3. 🏃 Navigate method calls recursively by index with `navigate(Method).at(index)`
|
|
4. 💾 Read and write resource files with `get(Path, Boolean)`
|
|
5. 📃 Read and write DOM files using `document`
|
|
|
|
### 🧰 APIs
|
|
|
|
> [!WARNING]
|
|
> This section is still under construction and may be incomplete.
|
|
|
|
## 🎉 Afterword
|
|
|
|
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](https://revanced.app) or open an issue in case of a bug or feature request,
|
|
ReVanced
|