Added new documentations files

This commit is contained in:
2022-09-17 14:46:07 +08:00
parent dbd5a74a5c
commit 237d5cbed0
99 changed files with 20686 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# API Basic Configs *
::: warning
The current page has not been translated yet.
If necessary, please temporarily switch to the **Simplified Chinese** page, or help us improve the translation of this page.
:::

View File

@@ -0,0 +1,9 @@
# API Exception Handling *
::: warning
The current page has not been translated yet.
If necessary, please temporarily switch to the **Simplified Chinese** page, or help us improve the translation of this page.
:::

View File

@@ -0,0 +1,9 @@
# Use as Hook API Configs *
::: warning
The current page has not been translated yet.
If necessary, please temporarily switch to the **Simplified Chinese** page, or help us improve the translation of this page.
:::

View File

@@ -0,0 +1,27 @@
# R8 & Proguard Obfuscate
> In most scenarios, the Xposed Module can be compressed by native obfuscation.
>
> Here is the configuration method of obfuscation.
## R8
> If you are using `R8` then you don't need any special configuration for `YukiHookAPI`.
## Proguard
> ~~If you are still using `Proguard`, you need to do some rule configuration.~~
::: danger
Proguard rules have been deprecated, please don't use them anymore.
Since Android Gradle Plugin 4.2, the obfuscator with the latest version of the Android Jetpack default is **R8**, and you no longer need to consider obfuscation.
:::
To enable `R8` in any version, please add the following rules to the `gradle.properties` file, no configuration is required for Android Gradle Plugin 7.0 and above.
```groovy
android.enableR8=true
```

View File

@@ -0,0 +1,9 @@
# Use as Xposed Module Configs *
::: warning
The current page has not been translated yet.
If necessary, please temporarily switch to the **Simplified Chinese** page, or help us improve the translation of this page.
:::