diff --git a/docs-source/src/en/about/future.md b/docs-source/src/en/about/future.md index 51ac25fa..4e415c52 100644 --- a/docs-source/src/en/about/future.md +++ b/docs-source/src/en/about/future.md @@ -22,11 +22,17 @@ In the later period, the permissions of the Android system will become more and ### Lite Version Supported for Standalone Use +If you like the Reflection API of `YukiHookAPI`, but your project may not need related Hook functions. + +Well here is some good news for you: + +The core Reflection API of `YukiHookAPI` has been decoupled into [YukiReflection](https://github.com/fankes/YukiReflection) project, which can now be used in any Android project. + ::: tip To be Discussed -At present, the API only supports binding to **xposed_init** through the automatic handler. +At present, the API only supports binding to **xposed_init** through the automatic builder. -If you don't like the automatic handler, you must implement the module loading entry yourself. +If you don't like the automatic builder, you must implement the module loading entry yourself. In the future, the Lite version with only API functions will be launched according to the number of people required. diff --git a/docs-source/src/en/api/special-features/reflection.md b/docs-source/src/en/api/special-features/reflection.md index f82c28e5..664e4028 100644 --- a/docs-source/src/en/api/special-features/reflection.md +++ b/docs-source/src/en/api/special-features/reflection.md @@ -2,6 +2,12 @@ > `YukiHookAPI` encapsulates a set of reflection API with near-zero reflection writing for developers, which can almost completely replace the usage of reflection API in Java. +The core part of this functionality has been decoupled into the [YukiReflection](https://github.com/fankes/YukiReflection) project, which can be used independently in any Android project. + +Now `YukiReflection` is integrated into `YukiHookAPI` as a core dependency. + +`YukiHookAPI` adds related extensions for Hook functions on the basis of `YukiReflection`, and there is no need to introduce this dependency to use `YukiHookAPI`. + ## Class Extensions > Here are the extension functions related to the **Class** object itself. diff --git a/docs-source/src/zh-cn/about/future.md b/docs-source/src/zh-cn/about/future.md index 102e6a2e..8485861f 100644 --- a/docs-source/src/zh-cn/about/future.md +++ b/docs-source/src/zh-cn/about/future.md @@ -22,6 +22,12 @@ ### 支持独立使用的 Lite 版本 +如果你喜欢 `YukiHookAPI` 的反射 API,但你的项目可能并不需要相关 Hook 功能。 + +那么这里有一个好消息要告诉你: + +`YukiHookAPI` 的核心反射 API 已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它现在能在任何 Android 项目中使用。 + ::: tip 待讨论 目前 API 只支持通过自动处理程序绑定到 **xposed_init**,若您不喜欢自动处理程序,一定要自己实现模块装载入口,未来会按照需求人数推出仅有 API 功能的 Lite 版本,你可向我们提出 **issues**。 diff --git a/docs-source/src/zh-cn/api/special-features/reflection.md b/docs-source/src/zh-cn/api/special-features/reflection.md index db4b4d0e..b66a3460 100644 --- a/docs-source/src/zh-cn/api/special-features/reflection.md +++ b/docs-source/src/zh-cn/api/special-features/reflection.md @@ -2,6 +2,12 @@ > `YukiHookAPI` 为开发者封装了一套接近零反射写法的反射 API,它几乎可以完全取代原生 Java 的反射 API 相关用法。 +此功能的核心部分已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它可以独立使用于任何 Android 项目中。 + +现在 `YukiReflection` 作为核心依赖集成于 `YukiHookAPI`。 + +`YukiHookAPI` 在 `YukiReflection` 的基础上加入了针对 Hook 功能的相关扩展,使用 `YukiHookAPI` 无需引入此依赖。 + ## Class 扩展 > 这里是 **Class** 对象自身相关的扩展功能。