mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-01 08:15:37 +08:00
refactor: change repository owner to HighCapable
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Yuki Hook API
|
||||
|
||||
[](https://github.com/fankes/YukiHookAPI/blob/master/LICENSE)
|
||||
[](https://github.com/fankes/YukiHookAPI/releases)
|
||||
[](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE)
|
||||
[](https://github.com/HighCapable/YukiHookAPI/releases)
|
||||
[](https://t.me/YukiHookAPI)
|
||||
[](https://t.me/HighCapable_Dev)
|
||||
|
||||
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/>
|
||||
<img src="https://github.com/HighCapable/YukiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/>
|
||||
|
||||
⛱️ 一个使用 Kotlin 构建的高效 Hook API 与 Xposed 模块解决方案。
|
||||
|
||||
[English](https://github.com/fankes/YukiHookAPI/blob/master/README.md) | 简体中文
|
||||
[English](https://github.com/HighCapable/YukiHookAPI/blob/master/README.md) | 简体中文
|
||||
|
||||
## 这是什么
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
|
||||
## 开始使用
|
||||
|
||||
[点击这里](https://fankes.github.io/YukiHookAPI/zh-cn/) 前往文档页面查看更多详细教程和内容。
|
||||
[点击这里](https://highcapable.github.io/YukiHookAPI/zh-cn/) 前往文档页面查看更多详细教程和内容。
|
||||
|
||||
有关支持性的相关信息,你可以直接 [点击这里](https://fankes.github.io/YukiHookAPI/zh-cn/guide/supportive) 进行查看。
|
||||
有关支持性的相关信息,你可以直接 [点击这里](https://highcapable.github.io/YukiHookAPI/zh-cn/guide/supportive) 进行查看。
|
||||
|
||||
## 合作项目
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
## Star History
|
||||
|
||||

|
||||

|
||||
|
||||
## 第三方开源使用声明
|
||||
|
||||
|
14
README.md
14
README.md
@@ -1,15 +1,15 @@
|
||||
# Yuki Hook API
|
||||
|
||||
[](https://github.com/fankes/YukiHookAPI/blob/master/LICENSE)
|
||||
[](https://github.com/fankes/YukiHookAPI/releases)
|
||||
[](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE)
|
||||
[](https://github.com/HighCapable/YukiHookAPI/releases)
|
||||
[](https://t.me/YukiHookAPI)
|
||||
[](https://t.me/HighCapable_Dev)
|
||||
|
||||
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/>
|
||||
<img src="https://github.com/HighCapable/YukiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/>
|
||||
|
||||
⛱️ An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
|
||||
English | [简体中文](https://github.com/fankes/YukiHookAPI/blob/master/README-zh-CN.md)
|
||||
English | [简体中文](https://github.com/HighCapable/YukiHookAPI/blob/master/README-zh-CN.md)
|
||||
|
||||
## What's this
|
||||
|
||||
@@ -22,9 +22,9 @@ Formerly the Innocent Xposed API used in [Development Learning Project](https://
|
||||
|
||||
## Get Started
|
||||
|
||||
[Click here](https://fankes.github.io/YukiHookAPI/en/) go to the documentation page for more detailed tutorials and content.
|
||||
[Click here](https://highcapable.github.io/YukiHookAPI/en/) go to the documentation page for more detailed tutorials and content.
|
||||
|
||||
For supportive related information, you can check it directly [click here](https://fankes.github.io/YukiHookAPI/en/guide/supportive).
|
||||
For supportive related information, you can check it directly [click here](https://highcapable.github.io/YukiHookAPI/en/guide/supportive).
|
||||
|
||||
## Cooperations
|
||||
|
||||
@@ -67,7 +67,7 @@ This project also uses **SweetDependency** and **SweetProperty**.
|
||||
|
||||
## Star History
|
||||
|
||||

|
||||

|
||||
|
||||
## Third-Party Open Source Usage Statement
|
||||
|
||||
|
@@ -118,7 +118,7 @@ export const configs = {
|
||||
}
|
||||
},
|
||||
github: {
|
||||
repo: 'https://github.com/fankes/YukiHookAPI',
|
||||
repo: 'https://github.com/HighCapable/YukiHookAPI',
|
||||
branch: 'master',
|
||||
dir: 'docs-source/src'
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
## License
|
||||
|
||||
[The MIT License (MIT)](https://github.com/fankes/YukiHookAPI/blob/master/LICENSE)
|
||||
[The MIT License (MIT)](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE)
|
||||
|
||||
```:no-line-numbers
|
||||
MIT License
|
||||
|
@@ -56,7 +56,7 @@ Time zone of version release date: **UTC+8**
|
||||
|
||||
### 1.1.8 | 2023.02.01  <Badge type="warning" text="stale" vertical="middle" />
|
||||
|
||||
- Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as `result` during callback, thanks to the [Issue](https://github.com/fankes/YukiHookAPI/issues/23) of [Yongzheng Lai](https://github.com/elvizlai)
|
||||
- Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as `result` during callback, thanks to the [Issue](https://github.com/HighCapable/YukiHookAPI/issues/23) of [Yongzheng Lai](https://github.com/elvizlai)
|
||||
- Move the entry class name file automatically generated by `YukiHookAPI` from `assets/yukihookapi_init` to `resources/META-INF/yukihookapi_init`
|
||||
- When only printing the exception stack, the `msg` parameter is allowed to be empty and the `msg` parameter can not be set, and the log with the `msg` parameter left blank will not be logged unless the exception stack is not empty
|
||||
- Fixed the bug that the log printed by the exception that occurs in the body of the Hook callback method has no specific method information
|
||||
@@ -189,7 +189,7 @@ Time zone of version release date: **UTC+8**
|
||||
- Added multiple search function in reflection search, you can use relative search conditions to obtain multiple search results at the same time, thanks to **AA** and [Kitsune](https://github.com/KyuubiRan) for suggestions
|
||||
- Fixed the problem that the object obtained by `appClassLoader` is incorrect in system applications in some systems, thanks to [Luckyzyx](https://github.com/luckyzyx) for the feedback
|
||||
- Modified the calling method of `XposedBridge.invokeOriginalMethod` and added `original` function in `MethodFinder.Result.Instance`
|
||||
- Fixed the problem of wrong value of `getStringSet` method in `YukiHookModulePrefs` and optimize the code style, thanks to [Teddy_Zhu](https://github.com/Teddy-Zhu) [PR](https://github.com/fankes/YukiHookAPI/pull/19)
|
||||
- Fixed the problem of wrong value of `getStringSet` method in `YukiHookModulePrefs` and optimize the code style, thanks to [Teddy_Zhu](https://github.com/Teddy-Zhu) [PR](https://github.com/HighCapable/YukiHookAPI/pull/19)
|
||||
- Modify `YukiHookModulePrefs` to intercept exceptions that may not exist in `XSharePreference`
|
||||
- Fixed the problem that `YukiHookDataChannel` could not be successfully registered in some third-party ROM system frameworks
|
||||
- Secured `YukiHookDataChannel`, now it can only communicate between modules from the specified package name and the host
|
||||
@@ -212,7 +212,7 @@ Time zone of version release date: **UTC+8**
|
||||
- Added the function of removing Hook in the Hook process, you can use the `remove` and `removeSelf` methods to remove the hook
|
||||
- Fixed the issue that caused the host to throw an exception when ReplaceHook failed, and now it is modified to call the original method to ensure the normal operation of the host function
|
||||
- Added the function of checking the return value of the method in the Hook process. If the return value does not match, it will automatically throw an exception or print an error according to the situation
|
||||
- Added `array` type to Resources Hook, thanks to [PR](https://github.com/fankes/YukiHookAPI/pull/12) of [GSWXXN](https://github.com/GSWXXN)
|
||||
- Added `array` type to Resources Hook, thanks to [PR](https://github.com/HighCapable/YukiHookAPI/pull/12) of [GSWXXN](https://github.com/GSWXXN)
|
||||
- Moved `me.weishu.reflection` to `thirdparty` to prevent conflicting dependencies of the same name introduced at the same time
|
||||
- Remove the exception thrown when the Hook method body is empty, and modify it to print the warning log
|
||||
- Modify the exception handling logic of `AppLifecycle` and throw it directly to the host when an exception occurs
|
||||
|
@@ -34,7 +34,7 @@ If you like the Reflection API of `YukiHookAPI`, but your project may not need r
|
||||
|
||||
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.
|
||||
The core Reflection API of `YukiHookAPI` has been decoupled into [YukiReflection](https://github.com/HighCapable/YukiReflection) project, which can now be used in any Android project.
|
||||
|
||||
::: tip To be Discussed
|
||||
|
||||
@@ -56,6 +56,6 @@ The plans below have been published in `issues` on GitHub, and you can view the
|
||||
|
||||
All functions are expected to be completed in `2.0.0` version, so stay tuned.
|
||||
|
||||
- [New Xposed Module Config Plan](https://github.com/fankes/YukiHookAPI/issues/49)
|
||||
- [New Hook Entry Class](https://github.com/fankes/YukiHookAPI/issues/48)
|
||||
- [New Hook Code Style](https://github.com/fankes/YukiHookAPI/issues/33)
|
||||
- [New Xposed Module Config Plan](https://github.com/HighCapable/YukiHookAPI/issues/49)
|
||||
- [New Hook Entry Class](https://github.com/HighCapable/YukiHookAPI/issues/48)
|
||||
- [New Hook Code Style](https://github.com/HighCapable/YukiHookAPI/issues/33)
|
@@ -20,4 +20,4 @@ You can use the **Chrome Translation Plugin** to translate entire pages for refe
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关组件的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ComponentTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ComponentTypeFactory.kt) 进行查看。
|
@@ -20,4 +20,4 @@ You can use the **Chrome Translation Plugin** to translate entire pages for refe
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关 `Graphics` 的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/GraphicsTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/GraphicsTypeFactory.kt) 进行查看。
|
@@ -20,4 +20,4 @@ You can use the **Chrome Translation Plugin** to translate entire pages for refe
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关 `Widget` 的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ViewTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ViewTypeFactory.kt) 进行查看。
|
@@ -20,4 +20,4 @@ You can use the **Chrome Translation Plugin** to translate entire pages for refe
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 Java 相关基本变量类型的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/java/VariableTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/java/VariableTypeFactory.kt) 进行查看。
|
@@ -294,7 +294,7 @@ This way, we can create dialogs in the Host App very simply using `MaterialAlert
|
||||
|
||||
Because some **androidx** dependent libraries or custom themes used by some apps may interfere with the actual style of the current **MaterialAlertDialog**, such as the button style of the dialog.
|
||||
|
||||
You can refer to the **Module App Demo** in this case and see [here is the sample code](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/factory/ComponentCompatFactory.kt) to fix this problem.
|
||||
You can refer to the **Module App Demo** in this case and see [here is the sample code](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/factory/ComponentCompatFactory.kt) to fix this problem.
|
||||
|
||||
**ClassCastException** may occur when some apps are created, please manually specify a new **Configuration** instance to fix.
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> `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 Java or Android project.
|
||||
The core part of this functionality has been decoupled into the [YukiReflection](https://github.com/HighCapable/YukiReflection) project, which can be used independently in any Java or Android project.
|
||||
|
||||
Now `YukiReflection` is integrated into `YukiHookAPI` as a core dependency.
|
||||
|
||||
@@ -201,7 +201,7 @@ Please note that the more the same type **Class** is matched, the slower the spe
|
||||
|
||||
::: danger
|
||||
|
||||
After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/fankes/YukiReflection).
|
||||
After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/HighCapable/YukiReflection).
|
||||
|
||||
We welcome all developers to start using [DexKit](https://github.com/LuckyPray/DexKit), which is a high-performance runtime parsing library for **Dex** implemented in C++, which is more efficient than the Java layer in terms of performance, efficient and excellent, it is still in the development stage, your valuable suggestions are welcome.
|
||||
|
||||
|
@@ -16,7 +16,7 @@ You can use **@OptIn(LegacyResourcesHook::class)** to eliminate the warning, con
|
||||
|
||||
## New API
|
||||
|
||||
`YukiHookAPI` introduced the [New Hook Code Style](https://github.com/fankes/YukiHookAPI/issues/33) (New API) of `2.0.0` in the `1.2.0` version, it is now in the experimental stage.
|
||||
`YukiHookAPI` introduced the [New Hook Code Style](https://github.com/HighCapable/YukiHookAPI/issues/33) (New API) of `2.0.0` in the `1.2.0` version, it is now in the experimental stage.
|
||||
|
||||
You can before the `2.0.0` version is officially released, start migrating and experience the New API.
|
||||
|
||||
|
@@ -73,9 +73,9 @@ resources().hook {
|
||||
|
||||
> You can find the demo provided by the API below to learn how to use `YukiHookAPI`.
|
||||
|
||||
- Host App Demo [click here to view](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-app)
|
||||
- Host App Demo [click here to view](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-app)
|
||||
|
||||
- Module App Demo [click here to view](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module)
|
||||
- Module App Demo [click here to view](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module)
|
||||
|
||||
Install the Host App and Module App Demo at the same time, and test the hooked function in the Host App by activating the Module App.
|
||||
|
||||
|
@@ -22,7 +22,7 @@ Please use Kotlin, the framework part of the code composition is also compatible
|
||||
|
||||
All demo code in this document will be described using Kotlin, if you don't know how to use Kotlin then you may not be able to use `YukiHookAPI`.
|
||||
|
||||
Part of the Java Demo code can be found [here](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/java), but not recommended.
|
||||
Part of the Java Demo code can be found [here](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/java), but not recommended.
|
||||
|
||||
## Source of Inspiration
|
||||
|
||||
|
@@ -6,7 +6,7 @@ The following are the related functions, Xposed Frameworks, Hook Frameworks and
|
||||
|
||||
| Name | ST | Description |
|
||||
| -------------------------- | --- | ------------------------------------------------------------------------------------------------------------------ |
|
||||
| Xposed Module Auto Builder | ✅ | Will use [New Xposed Module Config Plan](https://github.com/fankes/YukiHookAPI/issues/49) on `YukiHookAPI` `2.0.0` |
|
||||
| Xposed Module Auto Builder | ✅ | Will use [New Xposed Module Config Plan](https://github.com/HighCapable/YukiHookAPI/issues/49) on `YukiHookAPI` `2.0.0` |
|
||||
| ART Dynamic Method Hook | ✅ | Stable use in multiple scenarios |
|
||||
| Xposed Resources Hook | ❗ | Supported, but will be deprecated on `YukiHookAPI` `2.0.0` |
|
||||
|
||||
@@ -14,7 +14,7 @@ The following are the related functions, Xposed Frameworks, Hook Frameworks and
|
||||
|
||||
| Name | ST | Description |
|
||||
| -------------------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------------------------------------ |
|
||||
| [Reflection Extensions](../api/special-features/reflection) | ⭕ | Will be merge into [YukiReflection](https://github.com/fankes/YukiReflection) on `YukiHookAPI` `2.0.0` |
|
||||
| [Reflection Extensions](../api/special-features/reflection) | ⭕ | Will be merge into [YukiReflection](https://github.com/HighCapable/YukiReflection) on `YukiHookAPI` `2.0.0` |
|
||||
| [Xposed Module Data Storage](../api/special-features/xposed-storage) | ✅ | Normal use |
|
||||
| [Xposed Module and Host Channel](../api/special-features/xposed-channel) | ✅ | Normal use |
|
||||
| [Host Lifecycle Extension](../api/special-features/host-lifecycle) | ✅ | Normal use |
|
||||
|
@@ -12,9 +12,9 @@ This project is open source and free, and will be maintained continuously accord
|
||||
|
||||
The original version may have imperfections or bugs. We welcome to your feedback.
|
||||
|
||||
Project Address [YukiHookAPI-ProjectBuilder](https://github.com/fankes/YukiHookAPI-ProjectBuilder)。
|
||||
Project Address [YukiHookAPI-ProjectBuilder](https://github.com/HighCapable/YukiHookAPI-ProjectBuilder)。
|
||||
|
||||
If you want to download directly, you can [click here](https://github.com/fankes/YukiHookAPI-ProjectBuilder/releases) to go to the Release address.
|
||||
If you want to download directly, you can [click here](https://github.com/HighCapable/YukiHookAPI-ProjectBuilder/releases) to go to the Release address.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
## License
|
||||
|
||||
[The MIT License (MIT)](https://github.com/fankes/YukiHookAPI/blob/master/LICENSE)
|
||||
[The MIT License (MIT)](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE)
|
||||
|
||||
```:no-line-numbers
|
||||
MIT License
|
||||
|
@@ -48,7 +48,7 @@
|
||||
|
||||
### 1.1.8 | 2023.02.01  <Badge type="warning" text="过旧" vertical="middle" />
|
||||
|
||||
- 修复底层 Hook 方法在回调时修改 `result` 等参数时时不能同步更新修改后的状态问题,感谢 [Yongzheng Lai](https://github.com/elvizlai) 的 [Issue](https://github.com/fankes/YukiHookAPI/issues/23)
|
||||
- 修复底层 Hook 方法在回调时修改 `result` 等参数时时不能同步更新修改后的状态问题,感谢 [Yongzheng Lai](https://github.com/elvizlai) 的 [Issue](https://github.com/HighCapable/YukiHookAPI/issues/23)
|
||||
- 移动 `YukiHookAPI` 自动生成的入口类名称文件 `assets/yukihookapi_init` 到 `resources/META-INF/yukihookapi_init`
|
||||
- 允许在仅打印异常堆栈时 `msg` 参数为空并可以不设置 `msg` 参数,留空 `msg` 参数的日志除非异常堆栈不为空否则将不会被记录
|
||||
- 修复 Hook 回调方法体内发生的异常打印的日志无具体方法信息的 BUG
|
||||
@@ -181,7 +181,7 @@
|
||||
- 新增反射查找中的多重查找功能,可使用相对查找条件同时获取多个查找结果,感谢 **AA** 以及 [Kitsune](https://github.com/KyuubiRan) 的建议
|
||||
- 修复 `appClassLoader` 获取到的对象在某些系统中的系统应用中不正确的问题,感谢 [Luckyzyx](https://github.com/luckyzyx) 的反馈
|
||||
- 修改了 `XposedBridge.invokeOriginalMethod` 的调用方式并在 `MethodFinder.Result.Instance` 中增加 `original` 功能
|
||||
- 修复 `YukiHookModulePrefs` 中 `getStringSet` 方法取值错误的问题并优化代码风格,感谢 [Teddy_Zhu](https://github.com/Teddy-Zhu) 的 [PR](https://github.com/fankes/YukiHookAPI/pull/19)
|
||||
- 修复 `YukiHookModulePrefs` 中 `getStringSet` 方法取值错误的问题并优化代码风格,感谢 [Teddy_Zhu](https://github.com/Teddy-Zhu) 的 [PR](https://github.com/HighCapable/YukiHookAPI/pull/19)
|
||||
- 修改 `YukiHookModulePrefs`,拦截 `XSharePreference` 可能不存在的异常
|
||||
- 修复 `YukiHookDataChannel` 在某些第三方 ROM 系统框架中无法注册成功的问题
|
||||
- 安全化 `YukiHookDataChannel`,现在它只能在来自指定包名的模块与宿主之间通信
|
||||
@@ -204,7 +204,7 @@
|
||||
- Hook 过程中新增解除 Hook 功能,可使用 `remove` 及 `removeSelf` 方法解除 Hook
|
||||
- 修复在 ReplaceHook 失败的时候导致宿主抛出异常的问题,现修改为调用原始方法保证宿主功能正常运行
|
||||
- 新增 Hook 过程中对方法返回值的检查功能,在返回值不匹配的情况下会根据情景自动抛出异常或打印错误
|
||||
- Resources Hook 中新增 `array` 类型,感谢 [GSWXXN](https://github.com/GSWXXN) 的 [PR](https://github.com/fankes/YukiHookAPI/pull/12)
|
||||
- Resources Hook 中新增 `array` 类型,感谢 [GSWXXN](https://github.com/GSWXXN) 的 [PR](https://github.com/HighCapable/YukiHookAPI/pull/12)
|
||||
- 移动 `me.weishu.reflection` 到 `thirdparty` 防止同时引入的同名依赖冲突
|
||||
- 移除 Hook 方法体为空时抛出的异常,修改为打印警告日志
|
||||
- 修改 `AppLifecycle` 的异常处理逻辑,当其发生异常时直接抛给宿主
|
||||
|
@@ -34,7 +34,7 @@ LSPosed 现已实验性推出了 [Modern Xposed API](https://github.com/libxpose
|
||||
|
||||
那么这里有一个好消息要告诉你:
|
||||
|
||||
`YukiHookAPI` 的核心反射 API 已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它现在能在任何 Android 项目中使用。
|
||||
`YukiHookAPI` 的核心反射 API 已被解耦合为 [YukiReflection](https://github.com/HighCapable/YukiReflection) 项目,它现在能在任何 Android 项目中使用。
|
||||
|
||||
::: tip 待讨论
|
||||
|
||||
@@ -50,6 +50,6 @@ API 已经提供了 Xposed 原生 API 监听接口,你可以 [在这里](../co
|
||||
|
||||
所有功能预计在 `2.0.0` 版本完成,敬请期待。
|
||||
|
||||
- [New Xposed Module Config Plan](https://github.com/fankes/YukiHookAPI/issues/49)
|
||||
- [New Hook Entry Class](https://github.com/fankes/YukiHookAPI/issues/48)
|
||||
- [New Hook Code Style](https://github.com/fankes/YukiHookAPI/issues/33)
|
||||
- [New Xposed Module Config Plan](https://github.com/HighCapable/YukiHookAPI/issues/49)
|
||||
- [New Hook Entry Class](https://github.com/HighCapable/YukiHookAPI/issues/48)
|
||||
- [New Hook Code Style](https://github.com/HighCapable/YukiHookAPI/issues/33)
|
@@ -12,4 +12,4 @@ pageClass: code-page
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关组件的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ComponentTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ComponentTypeFactory.kt) 进行查看。
|
@@ -12,4 +12,4 @@ pageClass: code-page
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关 `Graphics` 的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/GraphicsTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/GraphicsTypeFactory.kt) 进行查看。
|
@@ -12,4 +12,4 @@ pageClass: code-page
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 `Android` 相关 `Widget` 的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ViewTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/android/ViewTypeFactory.kt) 进行查看。
|
@@ -12,4 +12,4 @@ pageClass: code-page
|
||||
|
||||
> 这是一个预置反射类型的常量类,主要为 Java 相关基本变量类型的 `Class` 内容,跟随版本更新会逐一进行增加。
|
||||
|
||||
详情可 [点击这里](https://github.com/fankes/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/java/VariableTypeFactory.kt) 进行查看。
|
||||
详情可 [点击这里](https://github.com/HighCapable/YukiHookAPI/blob/master/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/type/java/VariableTypeFactory.kt) 进行查看。
|
@@ -280,7 +280,7 @@ method {
|
||||
|
||||
::: warning 可能存在的问题
|
||||
|
||||
由于一些 APP 自身使用的 **androidx** 依赖库或自定义主题可能会对当前 **MaterialAlertDialog** 实际样式造成干扰,例如对话框的按钮样式,这种情况你可以参考 **模块 Demo** 中 [这里的示例代码](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/factory/ComponentCompatFactory.kt) 来修复这个问题。
|
||||
由于一些 APP 自身使用的 **androidx** 依赖库或自定义主题可能会对当前 **MaterialAlertDialog** 实际样式造成干扰,例如对话框的按钮样式,这种情况你可以参考 **模块 Demo** 中 [这里的示例代码](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/factory/ComponentCompatFactory.kt) 来修复这个问题。
|
||||
|
||||
某些 APP 在创建时可能会发生 **ClassCastException** 异常,请手动指定新的 **Configuration** 实例来进行修复。
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> `YukiHookAPI` 为开发者封装了一套接近零反射写法的反射 API,它几乎可以完全取代原生 Java 的反射 API 相关用法。
|
||||
|
||||
此功能的核心部分已被解耦合为 [YukiReflection](https://github.com/fankes/YukiReflection) 项目,它可以独立使用于任何 Java、Android 项目中。
|
||||
此功能的核心部分已被解耦合为 [YukiReflection](https://github.com/HighCapable/YukiReflection) 项目,它可以独立使用于任何 Java、Android 项目中。
|
||||
|
||||
现在 `YukiReflection` 作为核心依赖集成于 `YukiHookAPI`。
|
||||
|
||||
@@ -183,7 +183,7 @@ var isExist = "com.demo.Test".hasClass(customClassLoader)
|
||||
|
||||
::: danger
|
||||
|
||||
在 **YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/fankes/YukiReflection)。
|
||||
在 **YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/HighCapable/YukiReflection)。
|
||||
|
||||
我们欢迎各位开发者开始使用 [DexKit](https://github.com/LuckyPray/DexKit),它是一个使用 C++ 实现的 **Dex** 高性能运行时解析库,在性能方面比 Java 层更加高效与优秀,目前尚在开发阶段,欢迎提出宝贵建议。
|
||||
|
||||
|
@@ -14,7 +14,7 @@ Resources Hook (资源钩子) 将在 **2.0.0** 版本被移除,现已被标记
|
||||
|
||||
## 新版 API
|
||||
|
||||
`YukiHookAPI` 在 `1.2.0` 版本引入了 `2.0.0` 准备实现的 [New Hook Code Style](https://github.com/fankes/YukiHookAPI/issues/33) (新版 API),现处于实验性阶段,你可以在 `2.0.0` 版本正式发布前,开始迁移并体验新版 API。
|
||||
`YukiHookAPI` 在 `1.2.0` 版本引入了 `2.0.0` 准备实现的 [New Hook Code Style](https://github.com/HighCapable/YukiHookAPI/issues/33) (新版 API),现处于实验性阶段,你可以在 `2.0.0` 版本正式发布前,开始迁移并体验新版 API。
|
||||
|
||||
::: warning
|
||||
|
||||
|
@@ -73,9 +73,9 @@ resources().hook {
|
||||
|
||||
> 你可以在下方找到 API 提供的 Demo 来学习 `YukiHookAPI` 的使用方法。
|
||||
|
||||
- 宿主 APP Demo [点击这里查看](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-app)
|
||||
- 宿主 APP Demo [点击这里查看](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-app)
|
||||
|
||||
- 模块 APP Demo [点击这里查看](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module)
|
||||
- 模块 APP Demo [点击这里查看](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module)
|
||||
|
||||
同时安装宿主和模块 Demo,通过激活模块来测试宿主中被 Hook 的功能。
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
文档全部的 Demo 示例代码都将使用 Kotlin 进行描述,如果你完全不会使用 Kotlin 那你将有可能无法使用 `YukiHookAPI`。
|
||||
|
||||
部分 Java Demo 代码可在 [这里](https://github.com/fankes/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/java) 找到,但不推荐使用。
|
||||
部分 Java Demo 代码可在 [这里](https://github.com/HighCapable/YukiHookAPI/tree/master/samples/demo-module/src/main/java/com/highcapable/yukihookapi/demo_module/hook/java) 找到,但不推荐使用。
|
||||
|
||||
## 灵感来源
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
| Name | ST | Description |
|
||||
| -------------------------------- | --- | --------------------------------------------------------------------------------------------------------------- |
|
||||
| 自动化 Xposed 模块构建 | ✅ | 计划 `YukiHookAPI` `2.0.0` 版本使用 [新的 Xposed 模块配置方案](https://github.com/fankes/YukiHookAPI/issues/49) |
|
||||
| 自动化 Xposed 模块构建 | ✅ | 计划 `YukiHookAPI` `2.0.0` 版本使用 [新的 Xposed 模块配置方案](https://github.com/HighCapable/YukiHookAPI/issues/49) |
|
||||
| ART 动态方法 Hook | ✅ | 多场景下稳定使用 |
|
||||
| Xposed 资源钩子 (Resources Hook) | ❗ | 支持,但计划 `YukiHookAPI` `2.0.0` 版本作废 |
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
| Name | ST | Description |
|
||||
| -------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------------------------------ |
|
||||
| [字节码与反射扩展](../api/special-features/reflection) | ⭕ | 计划 `YukiHookAPI` `2.0.0` 版本合并到 [YukiReflection](https://github.com/fankes/YukiReflection) |
|
||||
| [字节码与反射扩展](../api/special-features/reflection) | ⭕ | 计划 `YukiHookAPI` `2.0.0` 版本合并到 [YukiReflection](https://github.com/HighCapable/YukiReflection) |
|
||||
| [Xposed 模块数据存储](../api/special-features/xposed-storage) | ✅ | 正常使用 |
|
||||
| [Xposed 模块与宿主通讯桥](../api/special-features/xposed-channel) | ✅ | 正常使用 |
|
||||
| [宿主生命周期扩展](../api/special-features/host-lifecycle) | ✅ | 正常使用 |
|
||||
|
@@ -10,9 +10,9 @@
|
||||
|
||||
本项目完全开源免费,且会根据大家的使用情况持续维护,初代版本可能存在不完善或 BUG,欢迎反馈。
|
||||
|
||||
项目地址 [YukiHookAPI-ProjectBuilder](https://github.com/fankes/YukiHookAPI-ProjectBuilder)。
|
||||
项目地址 [YukiHookAPI-ProjectBuilder](https://github.com/HighCapable/YukiHookAPI-ProjectBuilder)。
|
||||
|
||||
若你想直接下载可以 [点击这里](https://github.com/fankes/YukiHookAPI-ProjectBuilder/releases) 前往 Release 发布地址。
|
||||
若你想直接下载可以 [点击这里](https://github.com/HighCapable/YukiHookAPI-ProjectBuilder/releases) 前往 Release 发布地址。
|
||||
|
||||
## 使用方法
|
||||
|
||||
|
@@ -7,14 +7,14 @@ kotlin.incremental.useClasspathSnapshot=true
|
||||
# Project Configuration
|
||||
project.name=YukiHookAPI
|
||||
project.description=An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
project.url=https://github.com/fankes/YukiHookAPI
|
||||
project.url=https://github.com/HighCapable/YukiHookAPI
|
||||
project.groupName=com.highcapable.yukihookapi
|
||||
project.yukihookapi-core.moduleName=api
|
||||
project.yukihookapi-core.version="1.0.11"
|
||||
project.yukihookapi-ksp-xposed.moduleName=ksp-xposed
|
||||
project.yukihookapi-ksp-xposed.version=${project.yukihookapi-core.version}
|
||||
project.licence.name=MIT
|
||||
project.licence.url=https://github.com/fankes/YukiHookAPI/blob/master/LICENSE
|
||||
project.licence.url=https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE
|
||||
project.developer.id="0"
|
||||
project.developer.name=fankes
|
||||
project.developer.email=qzmmcn@163.com
|
||||
@@ -28,6 +28,6 @@ project.samples-demo-module.packageName=${project.groupName}.demo_module
|
||||
project.samples-demo-module.versionName=universal
|
||||
project.samples-demo-module.versionCode=1
|
||||
# Maven Publish Configuration
|
||||
maven.publish.scm.connection=scm:git:git://github.com/fankes/YukiHookAPI.git
|
||||
maven.publish.scm.developerConnection=scm:git:ssh://github.com/fankes/YukiHookAPI.git
|
||||
maven.publish.scm.url=https://github.com/fankes/YukiHookAPI
|
||||
maven.publish.scm.connection=scm:git:git://github.com/HighCapable/YukiHookAPI.git
|
||||
maven.publish.scm.developerConnection=scm:git:ssh://github.com/HighCapable/YukiHookAPI.git
|
||||
maven.publish.scm.url=https://github.com/HighCapable/YukiHookAPI
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Kotlin version of the Xposed Hook API.
|
||||
* Copyright (C) 2019-2022 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
@@ -366,9 +366,9 @@ object YukiHookAPI {
|
||||
/**
|
||||
* 配置 [YukiHookAPI] 相关参数
|
||||
*
|
||||
* 详情请参考 [configs 方法](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#configs-%E6%96%B9%E6%B3%95)
|
||||
* 详情请参考 [configs 方法](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#configs-%E6%96%B9%E6%B3%95)
|
||||
*
|
||||
* For English version, see [configs Method](https://fankes.github.io/YukiHookAPI/en/config/api-example#configs-method)
|
||||
* For English version, see [configs Method](https://highcapable.github.io/YukiHookAPI/en/config/api-example#configs-method)
|
||||
* @param initiate 方法体
|
||||
*/
|
||||
inline fun configs(initiate: Configs.() -> Unit) = Configs.apply(initiate).build()
|
||||
@@ -376,13 +376,13 @@ object YukiHookAPI {
|
||||
/**
|
||||
* 作为 Xposed 模块装载调用入口方法
|
||||
*
|
||||
* 用法请参考 [API 文档](https://fankes.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
* 用法请参考 [API 文档](https://highcapable.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
*
|
||||
* For English version, see [API Document](https://fankes.github.io/YukiHookAPI/en/api/home)
|
||||
* For English version, see [API Document](https://highcapable.github.io/YukiHookAPI/en/api/home)
|
||||
*
|
||||
* 配置请参考 [通过 lambda 创建](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87-lambda-%E5%88%9B%E5%BB%BA)
|
||||
* 配置请参考 [通过 lambda 创建](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87-lambda-%E5%88%9B%E5%BB%BA)
|
||||
*
|
||||
* For English version, see [Created by lambda](https://fankes.github.io/YukiHookAPI/en/config/api-example#created-by-lambda)
|
||||
* For English version, see [Created by lambda](https://highcapable.github.io/YukiHookAPI/en/config/api-example#created-by-lambda)
|
||||
* @param initiate Hook 方法体
|
||||
*/
|
||||
fun encase(initiate: PackageParam.() -> Unit) {
|
||||
@@ -395,13 +395,13 @@ object YukiHookAPI {
|
||||
/**
|
||||
* 作为 Xposed 模块装载调用入口方法
|
||||
*
|
||||
* 用法请参考 [API 文档](https://fankes.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
* 用法请参考 [API 文档](https://highcapable.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
*
|
||||
* For English version, see [API Document](https://fankes.github.io/YukiHookAPI/en/api/home)
|
||||
* For English version, see [API Document](https://highcapable.github.io/YukiHookAPI/en/api/home)
|
||||
*
|
||||
* 配置请参考 [通过自定义 Hooker 创建](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
* 配置请参考 [通过自定义 Hooker 创建](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
*
|
||||
* For English version, see [Created by Custom Hooker](https://fankes.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
* For English version, see [Created by Custom Hooker](https://highcapable.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
* @param hooker Hook 子类数组 - 必填不能为空
|
||||
* @throws IllegalStateException 如果 [hooker] 是空的
|
||||
*/
|
||||
@@ -421,17 +421,17 @@ object YukiHookAPI {
|
||||
*
|
||||
* 请在 [Application.attachBaseContext] 中实现 [YukiHookAPI] 的装载
|
||||
*
|
||||
* 详情请参考 [作为 Hook API 使用](https://fankes.github.io/YukiHookAPI/zh-cn/guide/quick-start#%E4%BD%9C%E4%B8%BA-hook-api-%E4%BD%BF%E7%94%A8)
|
||||
* 详情请参考 [作为 Hook API 使用](https://highcapable.github.io/YukiHookAPI/zh-cn/guide/quick-start#%E4%BD%9C%E4%B8%BA-hook-api-%E4%BD%BF%E7%94%A8)
|
||||
*
|
||||
* For English version, see [Use as Hook API](https://fankes.github.io/YukiHookAPI/en/guide/quick-start#use-as-hook-api)
|
||||
* For English version, see [Use as Hook API](https://highcapable.github.io/YukiHookAPI/en/guide/quick-start#use-as-hook-api)
|
||||
*
|
||||
* 用法请参考 [API 文档](https://fankes.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
* 用法请参考 [API 文档](https://highcapable.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
*
|
||||
* For English version, see [API Document](https://fankes.github.io/YukiHookAPI/en/api/home)
|
||||
* For English version, see [API Document](https://highcapable.github.io/YukiHookAPI/en/api/home)
|
||||
*
|
||||
* 配置请参考 [通过 lambda 创建](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87-lambda-%E5%88%9B%E5%BB%BA)
|
||||
* 配置请参考 [通过 lambda 创建](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87-lambda-%E5%88%9B%E5%BB%BA)
|
||||
*
|
||||
* For English version, see [Created by lambda](https://fankes.github.io/YukiHookAPI/en/config/api-example#created-by-lambda)
|
||||
* For English version, see [Created by lambda](https://highcapable.github.io/YukiHookAPI/en/config/api-example#created-by-lambda)
|
||||
* @param baseContext attachBaseContext
|
||||
* @param initiate Hook 方法体
|
||||
*/
|
||||
@@ -449,17 +449,17 @@ object YukiHookAPI {
|
||||
*
|
||||
* 请在 [Application.attachBaseContext] 中实现 [YukiHookAPI] 的装载
|
||||
*
|
||||
* 详情请参考 [作为 Hook API 使用](https://fankes.github.io/YukiHookAPI/zh-cn/guide/quick-start#%E4%BD%9C%E4%B8%BA-hook-api-%E4%BD%BF%E7%94%A8)
|
||||
* 详情请参考 [作为 Hook API 使用](https://highcapable.github.io/YukiHookAPI/zh-cn/guide/quick-start#%E4%BD%9C%E4%B8%BA-hook-api-%E4%BD%BF%E7%94%A8)
|
||||
*
|
||||
* For English version, see [Use as Hook API](https://fankes.github.io/YukiHookAPI/en/guide/quick-start#use-as-hook-api)
|
||||
* For English version, see [Use as Hook API](https://highcapable.github.io/YukiHookAPI/en/guide/quick-start#use-as-hook-api)
|
||||
*
|
||||
* 用法请参考 [API 文档](https://fankes.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
* 用法请参考 [API 文档](https://highcapable.github.io/YukiHookAPI/zh-cn/api/home)
|
||||
*
|
||||
* For English version, see [API Document](https://fankes.github.io/YukiHookAPI/en/api/home)
|
||||
* For English version, see [API Document](https://highcapable.github.io/YukiHookAPI/en/api/home)
|
||||
*
|
||||
* 配置请参考 [通过自定义 Hooker 创建](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
* 配置请参考 [通过自定义 Hooker 创建](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
*
|
||||
* For English version, see [Created by Custom Hooker](https://fankes.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
* For English version, see [Created by Custom Hooker](https://highcapable.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
* @param baseContext attachBaseContext
|
||||
* @param hooker Hook 子类数组 - 必填不能为空
|
||||
* @throws IllegalStateException 如果 [hooker] 是空的
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
@@ -50,9 +50,9 @@ import de.robv.android.xposed.IXposedHookInitPackageResources
|
||||
*
|
||||
* - 只能拥有一个 Hook 入口 - 若存在多个注解编译会报错
|
||||
*
|
||||
* 详情请参考 [InjectYukiHookWithXposed 注解](https://fankes.github.io/YukiHookAPI/zh-cn/config/xposed-using#injectyukihookwithxposed-%E6%B3%A8%E8%A7%A3)
|
||||
* 详情请参考 [InjectYukiHookWithXposed 注解](https://highcapable.github.io/YukiHookAPI/zh-cn/config/xposed-using#injectyukihookwithxposed-%E6%B3%A8%E8%A7%A3)
|
||||
*
|
||||
* For English version, see [InjectYukiHookWithXposed Annotation](https://fankes.github.io/YukiHookAPI/en/config/xposed-using#injectyukihookwithxposed-annotation)
|
||||
* For English version, see [InjectYukiHookWithXposed Annotation](https://highcapable.github.io/YukiHookAPI/en/config/xposed-using#injectyukihookwithxposed-annotation)
|
||||
* @param sourcePath 你的项目 source 相对路径 - 默认为 ..src/main..
|
||||
* @param modulePackageName 模块包名 - 不填默认自动生成
|
||||
* @param entryClassName 定义 [YukiHookAPI] 自动生成 Xposed 模块入口类的名称 - 不填默认使用 "入口类名_YukiHookXposedInit" 进行生成
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
@@ -38,9 +38,9 @@ import com.highcapable.yukihookapi.hook.param.PackageParam
|
||||
*
|
||||
* 更多请参考 [InjectYukiHookWithXposed] 中的注解内容
|
||||
*
|
||||
* 详情请参考 [通过自定义 Hooker 创建](https://fankes.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
* 详情请参考 [通过自定义 Hooker 创建](https://highcapable.github.io/YukiHookAPI/zh-cn/config/api-example#%E9%80%9A%E8%BF%87%E8%87%AA%E5%AE%9A%E4%B9%89-hooker-%E5%88%9B%E5%BB%BA)
|
||||
*
|
||||
* For English version, see [Created by Custom Hooker](https://fankes.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
* For English version, see [Created by Custom Hooker](https://highcapable.github.io/YukiHookAPI/en/config/api-example#created-by-custom-hooker)
|
||||
*/
|
||||
abstract class YukiBaseHooker : PackageParam() {
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
@@ -139,9 +139,9 @@ val Context.processName
|
||||
*
|
||||
* 注入的资源作用域仅限当前 [Context] - 你需要在每个用到宿主 [Context] 的地方重复调用此方法进行注入才能使用
|
||||
*
|
||||
* 详情请参考 [注入模块资源 (Resources)](https://fankes.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%85%A5%E6%A8%A1%E5%9D%97%E8%B5%84%E6%BA%90-resources)
|
||||
* 详情请参考 [注入模块资源 (Resources)](https://highcapable.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%85%A5%E6%A8%A1%E5%9D%97%E8%B5%84%E6%BA%90-resources)
|
||||
*
|
||||
* For English version, see [Inject Module App's Resources](https://fankes.github.io/YukiHookAPI/en/api/special-features/host-inject#inject-module-app-s-resources)
|
||||
* For English version, see [Inject Module App's Resources](https://highcapable.github.io/YukiHookAPI/en/api/special-features/host-inject#inject-module-app-s-resources)
|
||||
*
|
||||
* - 只能在 (Xposed) 宿主环境使用此功能 - 其它环境下使用将不生效且会打印警告信息
|
||||
*/
|
||||
@@ -154,9 +154,9 @@ fun Context.injectModuleAppResources() = resources?.injectModuleAppResources()
|
||||
*
|
||||
* 注入的资源作用域仅限当前 [Resources] - 你需要在每个用到宿主 [Resources] 的地方重复调用此方法进行注入才能使用
|
||||
*
|
||||
* 详情请参考 [注入模块资源 (Resources)](https://fankes.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%85%A5%E6%A8%A1%E5%9D%97%E8%B5%84%E6%BA%90-resources)
|
||||
* 详情请参考 [注入模块资源 (Resources)](https://highcapable.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%85%A5%E6%A8%A1%E5%9D%97%E8%B5%84%E6%BA%90-resources)
|
||||
*
|
||||
* For English version, see [Inject Module App's Resources](https://fankes.github.io/YukiHookAPI/en/api/special-features/host-inject#inject-module-app-s-resources)
|
||||
* For English version, see [Inject Module App's Resources](https://highcapable.github.io/YukiHookAPI/en/api/special-features/host-inject#inject-module-app-s-resources)
|
||||
*
|
||||
* - 只能在 (Xposed) 宿主环境使用此功能 - 其它环境下使用将不生效且会打印警告信息
|
||||
*/
|
||||
@@ -171,9 +171,9 @@ fun Resources.injectModuleAppResources() = AppParasitics.injectModuleAppResource
|
||||
*
|
||||
* - 你要将需要在宿主启动的 [Activity] 继承于 [ModuleAppActivity] or [ModuleAppCompatActivity]
|
||||
*
|
||||
* 详情请参考 [注册模块 Activity](https://fankes.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%86%8C%E6%A8%A1%E5%9D%97-activity)
|
||||
* 详情请参考 [注册模块 Activity](https://highcapable.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E6%B3%A8%E5%86%8C%E6%A8%A1%E5%9D%97-activity)
|
||||
*
|
||||
* For English version, see [Register Module App's Activity](https://fankes.github.io/YukiHookAPI/en/api/special-features/host-inject#register-module-app-s-activity)
|
||||
* For English version, see [Register Module App's Activity](https://highcapable.github.io/YukiHookAPI/en/api/special-features/host-inject#register-module-app-s-activity)
|
||||
*
|
||||
* - 只能在 (Xposed) 宿主环境使用此功能 - 其它环境下使用将不生效且会打印警告信息
|
||||
*
|
||||
@@ -190,9 +190,9 @@ fun Context.registerModuleAppActivities(proxy: Any? = null) = AppParasitics.regi
|
||||
*
|
||||
* - 如果在 Hook APP (宿主) 中使用此方法发生 [ClassCastException] - 请手动设置新的 [configuration]
|
||||
*
|
||||
* 详情请参考 [创建 ContextThemeWrapper 代理](https://fankes.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E5%88%9B%E5%BB%BA-contextthemewrapper-%E4%BB%A3%E7%90%86)
|
||||
* 详情请参考 [创建 ContextThemeWrapper 代理](https://highcapable.github.io/YukiHookAPI/zh-cn/api/special-features/host-inject#%E5%88%9B%E5%BB%BA-contextthemewrapper-%E4%BB%A3%E7%90%86)
|
||||
*
|
||||
* For English version, see [Create ContextThemeWrapper Proxy](https://fankes.github.io/YukiHookAPI/en/api/special-features/host-inject#create-contextthemewrapper-proxy)
|
||||
* For English version, see [Create ContextThemeWrapper Proxy](https://highcapable.github.io/YukiHookAPI/en/api/special-features/host-inject#create-contextthemewrapper-proxy)
|
||||
* @param theme 主题资源 ID
|
||||
* @param configuration 使用的 [Configuration] - 默认空
|
||||
* @return [ModuleContextThemeWrapper]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
|
||||
* Copyright (C) 2019-2023 HighCapable
|
||||
* https://github.com/fankes/YukiHookAPI
|
||||
* https://github.com/HighCapable/YukiHookAPI
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user