docs: part 7

Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
validcube 2023-10-21 22:43:40 +07:00
parent d06fb08239
commit f14b697769
No known key found for this signature in database
GPG Key ID: DBA94253E1D3F267
14 changed files with 62 additions and 26 deletions

View File

@ -48,24 +48,24 @@ This document describes how to contribute to ReVanced Manager.
## 📖 Resources to help you get started ## 📖 Resources to help you get started
* The [documentation](/docs/README.md) provides steps to build ReVanced Manager from source * The [documentation](/docs/README.md) provides steps to build ReVanced Manager from source
* [Our backlog](https://github.com/orgs/ReVanced/projects/12) is where we keep track of what we're working on * Our [backlog](https://github.com/orgs/ReVanced/projects/12) is where we keep track of what we're working on
* [Issues](https://github.com/ReVanced/revanced-manager/issues) are where we keep track of bugs and feature requests * [Issues](https://github.com/ReVanced/revanced-manager/issues) are where we keep track of bugs and feature requests
## 🙏 Submitting a feature request ## 🙏 Submitting a feature request
Features can be requested by opening an issue using the Features can be requested by opening an issue using the
[Feature request issue template](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=feature-request&projects=&template=feature-issue.yml&title=feat%3A+%3Ctitle%3E). [feature request issue template](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=feature-request&projects=&template=feature-issue.yml&title=feat%3A+%3Ctitle%3E).
> [!NOTE] > [!NOTE]
> We may rejected your request at the discretion of maintainers, > We may reject your request at the discretion of ReVanced Manager's maintainers,
> please provides good motivation for a request to be accepted. > please provide good motivation for a request to be accepted.
## 🐞 Submitting a bug report ## 🐞 Submitting a bug report
If you encounter a bug while using the ReVanced Manager app, open an issue using the If you encounter a bug while using the ReVanced Manager app, open an issue using the
[Bug report issue template](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=bug&projects=&template=bug-issue.yml&title=bug%3A+%3Ctitle%3E). [bug report issue template](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=bug&projects=&template=bug-issue.yml&title=bug%3A+%3Ctitle%3E).
## 📝 How to contribute ## 📝 How to contribute
> [!NOTE] > [!NOTE]
> It's worth noting that we recommended that you discuss your changes with > It's worth noting that we recommend that you discuss your changes with
> the maintainers of ReVanced Manager before contributing. > the maintainers of ReVanced Manager before contributing.
> This will help you determine whether your change is acceptable. > This will help you determine whether your change is acceptable.
@ -77,7 +77,7 @@ If you encounter a bug while using the ReVanced Manager app, open an issue using
Once your pull request is approved and merged, it will be included in the next release of ReVanced Manager Once your pull request is approved and merged, it will be included in the next release of ReVanced Manager
## 🤚 I want to contribute but don't know how to code ## 🤚 I want to contribute but don't know how to code
Even if you don't know how to code, you can still help us by Even if you don't know how to code, you can still contribute by
translate the ReVanced Manager application at [Crowdin](https://translate.revanced.app/). translating the ReVanced Manager application on our [Crowdin](https://translate.revanced.app/).
❤️ Thank you for considering contributing to ReVanced Manager. ❤️ Thank you for considering contributing to ReVanced Manager.

View File

@ -51,15 +51,16 @@ ReVanced Manager is an Android application that uses ReVanced Patcher to add, re
### 💪 Features ### 💪 Features
We provide the some of the features are: We provide the some of the features are:
* 📱 ReVanced Patcher that fit in your pocket! * 📱 **Portable**: ReVanced Patcher that fit in your pocket!
* 🤗 Friendly & intuitive UI to help you manage your patched applications! * 🤗 **Intuitive UI**: Help you manage your patched applications *intuitively*!
* 🛠️ Lots of customization to patch using 3rd-party sources and integration! * 🛠️ **Customization**: Patch using 3rd-party sources and integration!
* ✨ And a lot more! * ✨ And a **lot more!**
### 🔽 Download ### 🔽 Download
You can obtain ReVanced Manager by downloading it from either [revanced.app/download](https://revanced.app/download) or [GitHub Releases](https://github.com/ReVanced/revanced-manager/releases) You can obtain ReVanced Manager by downloading it from either [ReVanced site](https://revanced.app/download) or [GitHub Releases](https://github.com/ReVanced/revanced-manager/releases)
## 🌱 Miscellaneous ## 🌱 Miscellaneous
### 📄 Documentation ### 📄 Documentation
Step on how to use the application are available [here](/docs/README.md). Step on how to use the application are available [here](/docs/README.md).
@ -67,7 +68,7 @@ Step on how to use the application are available [here](/docs/README.md).
Thanks for consider contributing to ReVanced Manager, you can find the contribution guidelines [here](/CONTRIBUTING.md). Thanks for consider contributing to ReVanced Manager, you can find the contribution guidelines [here](/CONTRIBUTING.md).
### 🔴 Issues ### 🔴 Issues
For suggestions and bug reports, open an issue [here](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=bug&projects=&template=bug-issue.yml&title=bug%3A+%3Ctitle%3E). For suggestions and bug reports, open an issue [here](https://github.com/ReVanced/revanced-manager/issues/choose).
### ⚖️ License ## ⚖️ License
ReVanced Manager adopt the [GNU General Public License 3.0](/LICENSE), [tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3): You may copy, distribute and modify the software as long as you track changes/dates in source files. Any modifications to or software including (via compiler) GPL-licensed code must also be made available under the GPL along with build & install instructions. ReVanced Manager adopt the [GNU General Public License 3.0](/LICENSE), [tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3): You may copy, distribute and modify the software as long as you track changes/dates in source files. Any modifications to or software including (via compiler) GPL-licensed code must also be made available under the GPL along with build & install instructions.

View File

@ -1,13 +1,16 @@
# 💼 Prerequisites # 💼 Prerequisites
In order to use ReVanced Manager, certain requirements must be met. In order to use ReVanced Manager, certain requirements must be met.
## 🤝 Requirements ## 🤝 Requirements
- An Android device running Android 8 or higher - An Android device running Android 8 or higher
- Any device architecture except ARMv7[^1] - Any device architecture except ARMv7[^1]
[^1]: This constraint only applies to patches, that require patching APK resources which is why some patches may or may not work on ARMv7 architecture. You can find out, which architectures your device supports here: [⚙️ Configuring ReVanced Manager](2_4_settings.md#%E2%84%B9%EF%B8%8F-about). [^1]: This constraint only applies to patches, that require patching APK resources which is why some patches may or may not work on ARMv7 architecture. You can find out, which architectures your device supports here: [⚙️ Configuring ReVanced Manager](2_4_settings.md#%E2%84%B9%EF%B8%8F-about).
## ⏭️ What's next ## ⏭️ What's next
The next page will guide you through patching an app. The next page will guide you through patching an app.
Continue: [⬇️ Installation](1_installation.md) Continue: [⬇️ Installation](1_installation.md)

View File

@ -1,11 +1,14 @@
# ⬇️ Installation # ⬇️ Installation
In order to use ReVanced on your Android device, ReVanced Manager must be installed. In order to use ReVanced on your Android device, ReVanced Manager must be installed.
## ✅ Installation steps ## ✅ Installation steps
1. Download the latest version of ReVanced Manager from [here](https://github.com/ReVanced/revanced-manager/releases/latest) 1. Download the latest version of ReVanced Manager from [here](https://github.com/ReVanced/revanced-manager/releases/latest)
2. Install ReVanced Manager 2. Install ReVanced Manager
## ⏭️ What's next ## ⏭️ What's next
The next page will guide you through using ReVanced Manager. The next page will guide you through using ReVanced Manager.
Continue: [🛠️ Usage](2_usage.md) Continue: [🛠️ Usage](2_usage.md)

View File

@ -1,7 +1,9 @@
# 🧩 Patching apps # 🧩 Patching apps
The following pages will guide you through using ReVanced Manager to patch apps. The following pages will guide you through using ReVanced Manager to patch apps.
## ✅ Steps to patch apps ## ✅ Steps to patch apps
1. Navigate to the Apps tab from the top navigation bar 1. Navigate to the Apps tab from the top navigation bar
2. Tap the + button in the bottom right corner 2. Tap the + button in the bottom right corner
3. Choose an app to patch[^1] 3. Choose an app to patch[^1]
@ -17,6 +19,7 @@ The following pages will guide you through using ReVanced Manager to patch apps.
[^3]: Mounting the patched app on top of the original app will only work if the installed app version matches the version of the app selected in step 4. above. [^3]: Mounting the patched app on top of the original app will only work if the installed app version matches the version of the app selected in step 4. above.
## ⏭️ What's next ## ⏭️ What's next
The next page will bring you back to the usage page. The next page will bring you back to the usage page.
Continue: [🛠️ Usage](2_usage.md) Continue: [🛠️ Usage](2_usage.md)

View File

@ -1,11 +1,14 @@
# 🧰 Managing patched apps # 🧰 Managing patched apps
After patching an app, you may want to manage it. This page will guide you through managing patched apps. After patching an app, you may want to manage it. This page will guide you through managing patched apps.
## ✅ Steps to manage patched apps ## ✅ Steps to manage patched apps
1. Navigate to the Apps tab from the top navigation bar 1. Navigate to the Apps tab from the top navigation bar
2. Select the app you want to manage 2. Select the app you want to manage
<!-- What happen to this? @BenjaminHalko --> <!-- What happen to this? @BenjaminHalko -->
3. 3.
## ⏭️ What's next ## ⏭️ What's next
The next page will bring you back to the usage page. The next page will bring you back to the usage page.

View File

@ -1,10 +1,13 @@
# 🔄 Updating ReVanced Manager # 🔄 Updating ReVanced Manager
In order to keep up with the latest features and bug fixes, it is recommended to keep ReVanced Manager up to date. In order to keep up with the latest features and bug fixes, it is recommended to keep ReVanced Manager up to date.
## ✅ Updating steps ## ✅ Updating steps
> Currently not implemented > Currently not implemented
## ⏭️ What's next ## ⏭️ What's next
The next page will bring you back to the usage page. The next page will bring you back to the usage page.
Continue: [🛠️ Usage](2_usage.md) Continue: [🛠️ Usage](2_usage.md)

View File

@ -1,29 +1,39 @@
# ⚙️ Configuring ReVanced Manager # ⚙️ Configuring ReVanced Manager
ReVanced Manager has settings that can be configured to your liking. ReVanced Manager has settings that can be configured to your liking.
## ⭐ Essential settings ## ⭐ Essential settings
- ### 🔗 API URL - ### 🔗 API URL
Specify the URL of the API to use. This is used to fetch ReVanced Patches and update ReVanced Manager. Specify the URL of the API to use. This is used to fetch ReVanced Patches and update ReVanced Manager.
- ### 🧬 Sources - ### 🧬 Sources
Override the API and change the source of ReVanced Patches. Override the API and change the source of ReVanced Patches.
- ### 🧪 Experimental ReVanced Patches support - ### 🧪 Experimental ReVanced Patches support
Lift app version constraints from ReVanced Patches. This allows you to patch any version of an app, even if the patch is not explicitly compatible with it. Lift app version constraints from ReVanced Patches. This allows you to patch any version of an app, even if the patch is not explicitly compatible with it.
- ### 🧑‍🔬 Experimental universal support - ### 🧑‍🔬 Experimental universal support
This will show or hide ReVanced Patches, which are not meant for any app in particular but rather for all apps but may not work on all apps. This will show or hide ReVanced Patches, which are not meant for any app in particular but rather for all apps but may not work on all apps.
- ### 🔑 Export, import or delete keystore - ### 🔑 Export, import or delete keystore
Manage the keystore used to sign patched apps. Manage the keystore used to sign patched apps.
- ### 📄 Export, import or reset ReVanced Patches selection - ### 📄 Export, import or reset ReVanced Patches selection
Manage the ReVanced Patches selection. This is useful if you want to share your ReVanced Patches selection with others or reset it to the default selection. Manage the ReVanced Patches selection. This is useful if you want to share your ReVanced Patches selection with others or reset it to the default selection.
- ### About - ### About
View information about your device and ReVanced Manager. This includes the version of ReVanced Manager and supported architectures of your device. View information about your device and ReVanced Manager. This includes the version of ReVanced Manager and supported architectures of your device.
## ⏭️ What's next ## ⏭️ What's next
The next page will bring you back to the usage page. The next page will bring you back to the usage page.
Continue: [🛠️ Usage](2_usage.md) Continue: [🛠️ Usage](2_usage.md)

View File

@ -1,13 +1,16 @@
# 🛠️ Usage # 🛠️ Usage
The following pages will guide you through using ReVanced Manager to patch apps, manage patched apps, and update ReVanced Manager. The following pages will guide you through using ReVanced Manager to patch apps, manage patched apps, and update ReVanced Manager.
## 📖 Table of contents ## 📖 Table of contents
1. [🧩 Patching apps](2_1_patching.md) 1. [🧩 Patching apps](2_1_patching.md)
2. [🧰 Managing patched apps](2_2_managing.md) 2. [🧰 Managing patched apps](2_2_managing.md)
3. [🔄 Updating ReVanced Manager](2_3_updating.md) 3. [🔄 Updating ReVanced Manager](2_3_updating.md)
4. [⚙️ Configuring ReVanced Manager](2_4_settings.md) 4. [⚙️ Configuring ReVanced Manager](2_4_settings.md)
## ⏭️ What's next ## ⏭️ What's next
The next page will guide you through troubleshooting ReVanced Manager. The next page will guide you through troubleshooting ReVanced Manager.
Continue: [❔ Troubleshooting](3_troubleshooting.md) Continue: [❔ Troubleshooting](3_troubleshooting.md)

View File

@ -1,18 +1,24 @@
# ❔ Troubleshooting # ❔ Troubleshooting
In case you encounter any issues while using ReVanced Manager, please refer to this page for possible solutions. In case you encounter any issues while using ReVanced Manager, please refer to this page for possible solutions.
- 💉 Patching fails with an error - 💉 Patching fails with an error
Make sure ReVanced Manager is up to date by following [🔄 Updating ReVanced Manager](2_3_updating.md) and select the **Default** button when choosing patches. Make sure ReVanced Manager is up to date by following [🔄 Updating ReVanced Manager](2_3_updating.md) and select the **Default** button when choosing patches.
- 💥 App not installed as package conflicts with an existing package - 💥 App not installed as package conflicts with an existing package
An existing installation of the app you're trying to patch is conflicting with the patched app. Uninstall the existing app before installing the patched app. An existing installation of the app you're trying to patch is conflicting with the patched app. Uninstall the existing app before installing the patched app.
- ❗️ Error code `135`, `139` or `1` when patching the app - ❗️ Error code `135`, `139` or `1` when patching the app
Your device is not supported. Refer to the [Prerequisites](0_prerequisites.md) page for supported devices. Your device is not supported. Refer to the [Prerequisites](0_prerequisites.md) page for supported devices.
Alternatively, you can use [ReVanced CLI](https://github.com/revanced/revanced-cli) to patch the app. Alternatively, you can use [ReVanced CLI](https://github.com/revanced/revanced-cli) to patch the app.
- 🚫 Non-root install is not possible with the current patches selection - 🚫 Non-root install is not possible with the current patches selection
Select the **Default** button when choosing patches. Select the **Default** button when choosing patches.
- 🚨 Patched app crashes on launch - 🚨 Patched app crashes on launch
Select the **Default** button when choosing patches. Select the **Default** button when choosing patches.

View File

@ -1,7 +1,9 @@
# 💊 ReVanced Manager # 💊 ReVanced Manager
This documentation explains how to use [ReVanced Manager](https://github.com/ReVanced/revanced-manager). This documentation explains how to use [ReVanced Manager](https://github.com/ReVanced/revanced-manager).
## 📖 Table of contents ## 📖 Table of contents
0. [💼 Prerequisites](0_prerequisites.md) 0. [💼 Prerequisites](0_prerequisites.md)
1. [⬇️ Installation](1_installation.md) 1. [⬇️ Installation](1_installation.md)
2. [🛠️ Usage](2_usage.md) 2. [🛠️ Usage](2_usage.md)
@ -12,9 +14,10 @@ This documentation explains how to use [ReVanced Manager](https://github.com/ReV
3. [❔ Troubleshooting](3_troubleshooting.md) 3. [❔ Troubleshooting](3_troubleshooting.md)
## 👋 Developer version ## 👋 Developer version
Are you a contributors? Consider checking out developer version of the [documentation](/developers/README.md). Interested in contributing? Consider checking out developer version of the [documentation](/developers/README.md).
## ⏭️ Start here ## ⏭️ Start here
The next page will tell you about the prerequisites for using ReVanced Manager. The next page will tell you about the prerequisites for using ReVanced Manager.
Continue: [💼 Prerequisites](0_prerequisites.md) Continue: [💼 Prerequisites](0_prerequisites.md)

View File

@ -1,19 +1,17 @@
# 💼 Preparing a developer environment # 💼 Preparing a development environment
In order to compile ReVanced Manager, certain requirements must be met. In order to compile ReVanced Manager, certain requirements must be met.
## 📝 Prerequisites ## 📝 Prerequisites
* Kotlin IDE such as [Android Studio](https://developer.android.com/studio) * Kotlin IDE such as [Android Studio](https://developer.android.com/studio)
* Understanding of [Android](https://android.com) development, [Kotlin](https://kotlinlang.org/) language and [Jetpack Compose](https://developer.android.com/jetpack/compose). * Knowledge of [Android](https://android.com) App development, [Kotlin](https://kotlinlang.org/) language.
* At least Java Development Kit version 17 of any vendors * At least JDK 17 of any vendors
## 🏃 Prepare the environment ## 🏃 Prepare the environment
1. Clone the repository 1. Clone the repository
```sh ```sh
git clone https://github.com/ReVanced/revanced-manager.git && cd revanced-manager git clone https://github.com/ReVanced/revanced-manager.git && cd revanced-manager
``` ```
<!-- This assume that you can use Maven repository -->
2. Build the APK 2. Build the APK
Release variant:
```sh ```sh
gradlew assembleRelease -Psign gradlew assembleRelease -Psign
``` ```

View File

@ -7,7 +7,7 @@ build beautiful and performant user interfaces using declarative programming.
It provides a unified and efficient way of building UI that is well-integrated with the Android framework. It provides a unified and efficient way of building UI that is well-integrated with the Android framework.
## 📂 Structure ## 📂 Structure
We structure our code to use MVVM (Model-View-ViewModel) architecture for easier maintenance of the code. We structure our code to use [MVVM architecture](https://developer.android.com/topic/libraries/architecture/viewmodel) for easier maintenance of the code.
* **Model**: responsible for retrieving & storing data as well as performing calculations and other operations * **Model**: responsible for retrieving & storing data as well as performing calculations and other operations
* **View**: responsible for displaying the UI to the user, and send inputs to **ViewModel** * **View**: responsible for displaying the UI to the user, and send inputs to **ViewModel**
@ -15,8 +15,8 @@ We structure our code to use MVVM (Model-View-ViewModel) architecture for easier
## 🧑‍💻 Code readability ## 🧑‍💻 Code readability
In order to maintain readability of the code, It's highly recommend that you follow In order to maintain readability of the code, It's highly recommend that you follow
https://developer.android.com/jetpack/compose/api-guidelines style guide in order to maintain https://developer.android.com/jetpack/compose/api-guidelines style guide to maintain
consistent readability through out the codebase. consistent style through out the codebase.
## 🎨 Design language ## 🎨 Design language
We adopt the [Material Design 3](https://m3.material.io) as our design language to We adopt the [Material Design 3](https://m3.material.io) as our design language to
@ -34,5 +34,5 @@ Example:
* `fix`(**settings**): NullPointerException when exporting logs * `fix`(**settings**): NullPointerException when exporting logs
* `refactor`: optimize sub-optimal code * `refactor`: optimize sub-optimal code
* `perf`(**api**): reduces network latency * `perf`(**api**): reduces network latency
* `docs`(**developer**): concise wording * `docs`(**developer**): correct grammatical mistak
* `build`: bump version to v1.9.3 * `build`: bump version to v1.9.3

View File

@ -2,7 +2,7 @@
This documentation explains how the [ReVanced Manager](https://github.com/ReVanced/revanced-manager) work. This documentation explains how the [ReVanced Manager](https://github.com/ReVanced/revanced-manager) work.
## 📖 Table of contents ## 📖 Table of contents
0. [💼 Preparing a developer environment](0_preparation.md) 0. [💼 Preparing a development environment](0_preparation.md)
1. [💁 Overview](1_overview.md) 1. [💁 Overview](1_overview.md)
## ⏭️ Start here ## ⏭️ Start here