36 Commits
1.2.0 ... 1.2.1

Author SHA1 Message Date
e397a301d4 Bump version to 1.2.1 2024-06-20 10:47:03 +08:00
c5b191ad8a chore: update .editorconfig 2024-06-20 10:35:12 +08:00
9ef793695c feat: add SymbolConverterTool to resolve kotlin keywords package name 2024-06-20 10:26:18 +08:00
5c946f7fd9 chore: bump dependencies 2024-06-20 09:42:33 +08:00
e8754c7ede fix: curly brace syntax in YukiHookAPI 2024-06-20 09:42:26 +08:00
xihan123
04405c5a53 更新依赖库以支持 kotlin 2.0.0 版本 (#76)
* chore: bump gradle to 8.7

* chore: bump dependencies

* fix(style): 'if' must have both main and 'else' branches when used as an expression.
2024-05-31 01:53:07 +08:00
Light_summer
f5a3f31cc9 fix: fix https://github.com/HighCapable/YukiHookAPI/issues/65 (#71) 2024-04-12 19:17:45 +08:00
e655e185b4 chore: bump dependencies 2024-02-20 11:55:07 +08:00
bccd46ffde chore: bump gradle to 8.6 2024-02-20 11:55:02 +08:00
f29ce486e1 chore: update .editorconfig 2024-01-13 21:29:44 +08:00
e019ad5ed7 docs: update contacts 2024-01-02 03:45:50 +08:00
cac9460335 docs: update copyright date to 2024 for all existing files 2024-01-01 01:37:34 +08:00
1005cd0eea docs: update about 2023-12-31 21:05:15 +08:00
c1aaa97681 style: merge to new ktlint version & rules 2023-12-29 21:40:15 +08:00
20c4eced2b chore: update .gitignore 2023-12-28 23:13:08 +08:00
fe2342ba42 chore: merge to new maven publish way 2023-12-28 23:09:25 +08:00
500b416650 chore: update project files 2023-12-28 22:46:20 +08:00
6b7a9961cc chore: bump dependencies 2023-12-28 22:46:20 +08:00
f9120b7422 chore: bump gradle to 8.5 2023-12-28 22:46:19 +08:00
87b651420c docs: updates (some unimportant) 2023-12-18 09:09:05 +08:00
039392e729 chore(docs): bump dependencies 2023-12-18 09:07:31 +08:00
b4ee6a0e15 docs: use relative link 2023-12-11 02:33:55 +08:00
ece229c683 chore: update project files 2023-12-11 02:33:51 +08:00
95f309e0f6 chore: bump dependency versions 2023-12-11 01:15:05 +08:00
6df206ce7d docs: update README, README-zh-CN 2023-12-11 01:12:41 +08:00
Fankesyooni
e4799af576 Merge pull request #57 from pwh-pwh/master
add fuck_shake pj
2023-11-23 23:00:51 +08:00
coderpwh
142ea597ac Update README-zh-CN.md 2023-11-22 16:02:13 +08:00
coderpwh
49a3a87e06 Update README.md 2023-11-22 16:01:08 +08:00
2f72812e58 docs: update promotion 2023-11-18 18:12:31 +08:00
b8450e9a2e chore: bump "com.highcapable.sweetdependency" version to 1.0.4 2023-11-14 01:07:00 +08:00
0ca2365aa1 chore: bump "com.highcapable.sweetproperty" version to 1.0.5 2023-11-08 15:27:46 +08:00
7b527186c8 chore: bump dependencies 2023-11-04 03:30:26 +08:00
6e8a7db742 chore: bump plugin versions
- bump "com.highcapable.sweetdependency" version to 1.0.3
- bump "com.highcapable.sweetproperty" version to 1.0.4
2023-11-04 03:22:36 +08:00
31e3b7a678 docs: update promotion 2023-10-24 22:15:04 +08:00
69419f9f2e feat: catching the single hooker exceptions 2023-10-16 16:01:35 +08:00
9a152a436d docs: fix some typo 2023-10-11 14:19:59 +08:00
156 changed files with 1134 additions and 972 deletions

View File

@@ -10,6 +10,21 @@ ktlint_standard_argument-list-wrapping = disabled
ktlint_standard_parameter-list-wrapping = disabled ktlint_standard_parameter-list-wrapping = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled ktlint_standard_trailing-comma-on-declaration-site = disabled
ktlint_function_signature_body_expression_wrapping = multiline ktlint_function_signature_body_expression_wrapping = multiline
ktlint_standard_string-template-indent = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled
ktlint_standard_if-else-wrapping = disabled
ktlint_standard_if-else-bracing = disabled
ktlint_standard_statement-wrapping = disabled
ktlint_standard_blank-line-before-declaration = disabled
ktlint_standard_no-empty-file = disabled
ktlint_standard_property-naming = disabled
ktlint_standard_function-naming = disabled
ktlint_standard_chain-method-continuation = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_condition-wrapping = disabled
ij_continuation_indent_size = 2 ij_continuation_indent_size = 2
indent_size = 4 indent_size = 4
indent_style = space indent_style = space

110
.gitignore vendored
View File

@@ -1,15 +1,103 @@
## Fully .gtignore for IntelliJ, Android Studio and Gradle based Java projects
## References:
## - https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
## - https://github.com/android/platform-samples/blob/main/.gitignore
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml *.iml
.gradle *.ipr
/local.properties
/.idea/caches # Misc
/.idea/libraries .idea/misc.xml
/.idea/modules.xml
/.idea/workspace.xml # CMake
/.idea/navEditor.xml cmake-build-*/
/.idea/assetWizardSettings.xml
.DS_Store # Mongo Explorer plugin
/build .idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
# Android studio 3.1+ additional
.idea/deployment*.xml
.idea/assetWizardSettings.xml
.idea/androidTestResultsUserPreferences.xml
# Android projects
**/local.properties
/captures /captures
.externalNativeBuild .externalNativeBuild
.cxx .cxx
local.properties
# Gradle projects
.gradle
build/
# Mkdocs temporary serving folder
docs-gen
site
*.bak
.idea/appInsightsSettings.xml
# Mac OS
.DS_Store

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AppInsightsSettings">
<option name="tabSettings">
<map>
<entry key="Firebase Crashlytics">
<value>
<InsightsFilterSettings>
<option name="connection">
<ConnectionSetting>
<option name="appId" value="PLACEHOLDER" />
<option name="mobileSdkAppId" value="" />
<option name="projectId" value="" />
<option name="projectNumber" value="" />
</ConnectionSetting>
</option>
<option name="signal" value="SIGNAL_UNSPECIFIED" />
<option name="timeIntervalDays" value="THIRTY_DAYS" />
<option name="visibilityType" value="ALL" />
</InsightsFilterSettings>
</value>
</entry>
</map>
</option>
</component>
</project>

11
.idea/compiler.xml generated
View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17">
<module name="YukiHookAPI.app" target="11" />
<module name="YukiHookAPI.demo-app" target="17" />
<module name="YukiHookAPI.demo-module" target="17" />
<module name="YukiHookAPI.yukihookapi-yaya" target="11" />
</bytecodeTargetLevel>
</component>
</project>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<value>
<entry key="samples.demo-app">
<State />
</entry>
<entry key="samples.demo-module">
<State />
</entry>
</value>
</component>
</project>

View File

@@ -1,6 +1,7 @@
<component name="InspectionProjectProfileManager"> <component name="InspectionProjectProfileManager">
<profile version="1.0"> <profile version="1.0">
<option name="myName" value="Project Default" /> <option name="myName" value="Project Default" />
<inspection_tool class="CheckImageSize" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false"> <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" /> <option name="processCode" value="true" />
<option name="processLiterals" value="true" /> <option name="processLiterals" value="true" />

View File

@@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven3" />
<option name="name" value="maven3" />
<option name="url" value="https://www.jitpack.io" />
</remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://maven.aliyun.com/nexus/content/groups/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven2" />
<option name="name" value="maven2" />
<option name="url" value="https://maven.aliyun.com/nexus/content/repositories/jcenter" />
</remote-repository>
<remote-repository>
<option name="id" value="Google" />
<option name="name" value="Google" />
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven4" />
<option name="name" value="maven4" />
<option name="url" value="https://dl.bintray.com/kotlin/kotlin-eap" />
</remote-repository>
</component>
</project>

2
.idea/kotlinc.xml generated
View File

@@ -7,6 +7,6 @@
<option name="additionalArguments" value="-version -Xopt-in=kotlin.RequiresOptIn" /> <option name="additionalArguments" value="-version -Xopt-in=kotlin.RequiresOptIn" />
</component> </component>
<component name="KotlinJpsPluginSettings"> <component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.10" /> <option name="version" value="2.0.0" />
</component> </component>
</project> </project>

7
.idea/ktlint-plugin.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KtLint plugin">
<ktlintMode>MANUAL</ktlintMode>
<formatOnSave>false</formatOnSave>
</component>
</project>

View File

@@ -4,12 +4,18 @@
[![GitHub release](https://img.shields.io/github/v/release/HighCapable/YukiHookAPI?display_name=release&logo=github&color=green)](https://github.com/HighCapable/YukiHookAPI/releases) [![GitHub release](https://img.shields.io/github/v/release/HighCapable/YukiHookAPI?display_name=release&logo=github&color=green)](https://github.com/HighCapable/YukiHookAPI/releases)
[![Telegram](https://img.shields.io/badge/discussion-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI) [![Telegram](https://img.shields.io/badge/discussion-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
[![Telegram](https://img.shields.io/badge/discussion%20dev-Telegram-blue.svg?logo=telegram)](https://t.me/HighCapable_Dev) [![Telegram](https://img.shields.io/badge/discussion%20dev-Telegram-blue.svg?logo=telegram)](https://t.me/HighCapable_Dev)
[![QQ](https://img.shields.io/badge/discussion%20dev-QQ-blue.svg?logo=tencent-qq&logoColor=red)](https://qm.qq.com/cgi-bin/qm/qr?k=Pnsc5RY6N2mBKFjOLPiYldbAbprAU3V7&jump_from=webapi&authKey=X5EsOVzLXt1dRunge8ryTxDRrh9/IiW1Pua75eDLh9RE3KXE+bwXIYF5cWri/9lf)
<img src="https://github.com/HighCapable/YukiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/> <img src="img-src/icon.png" width = "100" height = "100" alt="LOGO"/>
⛱️ 一个使用 Kotlin 构建的高效 Hook API 与 Xposed 模块解决方案。 ⛱️ 一个使用 Kotlin 构建的高效 Hook API 与 Xposed 模块解决方案。
[English](https://github.com/HighCapable/YukiHookAPI/blob/master/README.md) | 简体中文 [English](README.md) | 简体中文
| <img src="https://github.com/HighCapable/.github/blob/main/img-src/logo.jpg?raw=true" width = "30" height = "30" alt="LOGO"/> | [HighCapable](https://github.com/HighCapable) |
|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|
这个项目属于上述组织,**点击上方链接关注这个组织**,发现更多好项目。
## 这是什么 ## 这是什么
@@ -46,6 +52,7 @@
| [QDReadHook](https://github.com/xihan123/QDReadHook) | [xihan123](https://github.com/xihan123) | | [QDReadHook](https://github.com/xihan123/QDReadHook) | [xihan123](https://github.com/xihan123) |
| [HXReadHook](https://github.com/xihan123/HXReadHook) | [xihan123](https://github.com/xihan123) | | [HXReadHook](https://github.com/xihan123/HXReadHook) | [xihan123](https://github.com/xihan123) |
| [WxRecordRead](https://github.com/pwh-pwh/wxrecordread) | [Coderpwh](https://github.com/pwh-pwh) | | [WxRecordRead](https://github.com/pwh-pwh/wxrecordread) | [Coderpwh](https://github.com/pwh-pwh) |
| [FuckShake](https://github.com/pwh-pwh/fuck_shake) | [Coderpwh](https://github.com/pwh-pwh) |
| [MIUI更新进化](https://miup.utssg.xyz) | [ZQDesigned](https://github.com/ZQDesigned) | | [MIUI更新进化](https://miup.utssg.xyz) | [ZQDesigned](https://github.com/ZQDesigned) |
| [MIUI录屏进化](https://www.coolapk.com/apk/UTSSG.ZQDesigned.miuirecordercracker) | [ZQDesigned](https://github.com/ZQDesigned) | | [MIUI录屏进化](https://www.coolapk.com/apk/UTSSG.ZQDesigned.miuirecordercracker) | [ZQDesigned](https://github.com/ZQDesigned) |
| [Fuck AD](https://github.com/hujiayucc/Fuck-AD) | [hujiayucc](https://github.com/hujiayucc) | | [Fuck AD](https://github.com/hujiayucc/Fuck-AD) | [hujiayucc](https://github.com/hujiayucc) |
@@ -55,17 +62,14 @@
## 项目推广 ## 项目推广
如果你正在寻找一个可以自动管理 Gradle 项目依赖的 Gradle 插件,你可以了解一下 [SweetDependency](https://github.com/HighCapable/SweetDependency) 项目。 <!--suppress HtmlDeprecatedAttribute -->
<div align="center">
如果你正在寻找一个可以自动生成属性键值的 Gradle 插件,你可以了解一下 [SweetProperty](https://github.com/HighCapable/SweetProperty) 项目。 <h2>嘿,还请君留步!👋</h2>
<h3>这里有 Android 开发工具、UI 设计、Gradle 插件、Xposed 模块和实用软件等相关项目。</h3>
本项目同样使用了 **SweetDependency****SweetProperty** <h3>如果下方的项目能为你提供帮助,不妨为我点个 star 吧!</h3>
<h3>所有项目免费、开源,遵循对应开源许可协议。</h3>
## 捐赠支持 <h1><a href="https://github.com/fankes/fankes/blob/main/project-promote/README-zh-CN.md">→ 查看更多关于我的项目,请点击这里 ←</a></h1>
</div>
工作不易,无意外情况此项目将继续维护下去,提供更多可能,欢迎打赏。
<img src="https://github.com/fankes/fankes/blob/main/img-src/payment_code.jpg?raw=true" width = "500" alt="Payment Code"/>
## Star History ## Star History
@@ -83,7 +87,7 @@
``` ```
Apache License Version 2.0 Apache License Version 2.0
Copyright (C) 2019-2023 HighCapable Copyright (C) 2019-2024 HighCapable
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -98,4 +102,4 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
``` ```
版权所有 © 2019-2023 HighCapable 版权所有 © 2019-2024 HighCapable

View File

@@ -4,12 +4,18 @@
[![GitHub release](https://img.shields.io/github/v/release/HighCapable/YukiHookAPI?display_name=release&logo=github&color=green)](https://github.com/HighCapable/YukiHookAPI/releases) [![GitHub release](https://img.shields.io/github/v/release/HighCapable/YukiHookAPI?display_name=release&logo=github&color=green)](https://github.com/HighCapable/YukiHookAPI/releases)
[![Telegram](https://img.shields.io/badge/discussion-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI) [![Telegram](https://img.shields.io/badge/discussion-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
[![Telegram](https://img.shields.io/badge/discussion%20dev-Telegram-blue.svg?logo=telegram)](https://t.me/HighCapable_Dev) [![Telegram](https://img.shields.io/badge/discussion%20dev-Telegram-blue.svg?logo=telegram)](https://t.me/HighCapable_Dev)
[![QQ](https://img.shields.io/badge/discussion%20dev-QQ-blue.svg?logo=tencent-qq&logoColor=red)](https://qm.qq.com/cgi-bin/qm/qr?k=Pnsc5RY6N2mBKFjOLPiYldbAbprAU3V7&jump_from=webapi&authKey=X5EsOVzLXt1dRunge8ryTxDRrh9/IiW1Pua75eDLh9RE3KXE+bwXIYF5cWri/9lf)
<img src="https://github.com/HighCapable/YukiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/> <img src="img-src/icon.png" width = "100" height = "100" alt="LOGO"/>
⛱️ An efficient Hook API and Xposed Module solution built in Kotlin. ⛱️ An efficient Hook API and Xposed Module solution built in Kotlin.
English | [简体中文](https://github.com/HighCapable/YukiHookAPI/blob/master/README-zh-CN.md) English | [简体中文](README-zh-CN.md)
| <img src="https://github.com/HighCapable/.github/blob/main/img-src/logo.jpg?raw=true" width = "30" height = "30" alt="LOGO"/> | [HighCapable](https://github.com/HighCapable) |
|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|
This project belongs to the above-mentioned organization, **click the link above to follow this organization** and discover more good projects.
## What's this ## What's this
@@ -47,6 +53,7 @@ The following are projects that have collaborated and are using `YukiHookAPI`.
| [QDReadHook](https://github.com/xihan123/QDReadHook) | [xihan123](https://github.com/xihan123) | | [QDReadHook](https://github.com/xihan123/QDReadHook) | [xihan123](https://github.com/xihan123) |
| [HXReadHook](https://github.com/xihan123/HXReadHook) | [xihan123](https://github.com/xihan123) | | [HXReadHook](https://github.com/xihan123/HXReadHook) | [xihan123](https://github.com/xihan123) |
| [WxRecordRead](https://github.com/pwh-pwh/wxrecordread) | [Coderpwh](https://github.com/pwh-pwh) | | [WxRecordRead](https://github.com/pwh-pwh/wxrecordread) | [Coderpwh](https://github.com/pwh-pwh) |
| [FuckShake](https://github.com/pwh-pwh/fuck_shake) | [Coderpwh](https://github.com/pwh-pwh) |
| [MIUI更新进化](https://miup.utssg.xyz) | [ZQDesigned](https://github.com/ZQDesigned) | | [MIUI更新进化](https://miup.utssg.xyz) | [ZQDesigned](https://github.com/ZQDesigned) |
| [MIUI录屏进化](https://www.coolapk.com/apk/UTSSG.ZQDesigned.miuirecordercracker) | [ZQDesigned](https://github.com/ZQDesigned) | | [MIUI录屏进化](https://www.coolapk.com/apk/UTSSG.ZQDesigned.miuirecordercracker) | [ZQDesigned](https://github.com/ZQDesigned) |
| [Fuck AD](https://github.com/hujiayucc/Fuck-AD) | [hujiayucc](https://github.com/hujiayucc) | | [Fuck AD](https://github.com/hujiayucc/Fuck-AD) | [hujiayucc](https://github.com/hujiayucc) |
@@ -57,13 +64,14 @@ links).
## Promotion ## Promotion
If you are looking for a Gradle plugin that can automatically manage Gradle project dependencies, <!--suppress HtmlDeprecatedAttribute -->
you can check out the [SweetDependency](https://github.com/HighCapable/SweetDependency) project. <div align="center">
<h2>Hey, please stay! 👋</h2>
If you are looking for a Gradle plugin that can automatically generate properties key-values, <h3>Here are related projects such as Android development tools, UI design, Gradle plugins, Xposed Modules and practical software. </h3>
you can check out the [SweetProperty](https://github.com/HighCapable/SweetProperty) project. <h3>If the project below can help you, please give me a star! </h3>
<h3>All projects are free, open source, and follow the corresponding open source license agreement. </h3>
This project also uses **SweetDependency** and **SweetProperty**. <h1><a href="https://github.com/fankes/fankes/blob/main/project-promote/README.md">→ To see more about my projects, please click here ←</a></h1>
</div>
## Star History ## Star History
@@ -81,7 +89,7 @@ This project also uses **SweetDependency** and **SweetProperty**.
``` ```
Apache License Version 2.0 Apache License Version 2.0
Copyright (C) 2019-2023 HighCapable Copyright (C) 2019-2024 HighCapable
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -96,4 +104,4 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
``` ```
Copyright © 2019-2023 HighCapable Copyright © 2019-2024 HighCapable

View File

@@ -3,10 +3,10 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"@mr-hope/vuepress-plugin-copy-code": "^1.30.0", "@mr-hope/vuepress-plugin-copy-code": "^1.30.0",
"@vuepress/plugin-prismjs": "2.0.0-beta.67", "@vuepress/plugin-prismjs": "2.0.0-rc.0",
"@vuepress/plugin-search": "2.0.0-beta.67", "@vuepress/plugin-search": "2.0.0-rc.0",
"@vuepress/plugin-shiki": "2.0.0-beta.67", "@vuepress/plugin-shiki": "2.0.0-rc.0",
"vuepress": "2.0.0-beta.67" "vuepress": "2.0.0-rc.0"
}, },
"scripts": { "scripts": {
"docs:dev": "vuepress dev src", "docs:dev": "vuepress dev src",

View File

@@ -1,4 +1,4 @@
# About this Document # About This Document
> This document is powered by [VuePress](https://v2.vuepress.vuejs.org/en). > This document is powered by [VuePress](https://v2.vuepress.vuejs.org/en).
@@ -9,7 +9,7 @@
```:no-line-numbers ```:no-line-numbers
Apache License Version 2.0 Apache License Version 2.0
Copyright (C) 2019-2023 HighCapable Copyright (C) 2019-2024 HighCapable
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -24,4 +24,4 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
``` ```
Copyright © 2019-2023 HighCapable Copyright © 2019-2024 HighCapable

View File

@@ -16,7 +16,13 @@ Time zone of version release date: **UTC+8**
::: :::
### 1.2.0 | 2023.10.07 &ensp;<Badge type="tip" text="latest" vertical="middle" /> ### 1.2.1 | 2024.06.20 &ensp;<Badge type="tip" text="latest" vertical="middle" />
- Catch exceptions in singleton Hooker to prevent it from blocking the entire process
- Add automatic use of "`" in the automatic handler to fix the situation where Kotlin keywords are package names, thanks to [Fengning Zhu](https://github.com/zhufengning) for [PR](https://github.com/HighCapable/YukiHookAPI/pull/70)
- Adapt to Kotlin 2.0.0+, fix the problem that it cannot be compiled during automatic processing, thanks to [xihan123](https://github.com/xihan123) for [PR](https://github.com/HighCapable/YukiHookAPI/pull/76)
### 1.2.0 | 2023.10.07 &ensp;<Badge type="warning" text="stale" vertical="middle" />
- The license agreement has been changed from `MIT` to `Apache-2.0`, subsequent versions will be distributed under this license agreement, you should change the relevant license agreement after using this version - The license agreement has been changed from `MIT` to `Apache-2.0`, subsequent versions will be distributed under this license agreement, you should change the relevant license agreement after using this version
- This is a breaking update, please refer to [Migrate to YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/en/config/move-to-api-1-2-x) for details - This is a breaking update, please refer to [Migrate to YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/en/config/move-to-api-1-2-x) for details
@@ -25,11 +31,11 @@ Time zone of version release date: **UTC+8**
- Fixed the delayed callback problem in the Hook process, thanks to [cesaryuan](https://github.com/cesaryuan) for his [Issue](https://github.com/HighCapable/YukiHookAPI/issues/47) - Fixed the delayed callback problem in the Hook process, thanks to [cesaryuan](https://github.com/cesaryuan) for his [Issue](https://github.com/HighCapable/YukiHookAPI/issues/47)
- Added support for Resources Hook related functions, please refer to this [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36) for details - Added support for Resources Hook related functions, please refer to this [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36) for details
- Added `YukiHookAPI.TAG` - Added `YukiHookAPI.TAG`
- Obsolete ~~`YukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION` - Deprecated ~~`YukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
- Added `YukiHookAPI.TAG` - Added `YukiHookAPI.TAG`
- Obsolete ~~`YYukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION` - Deprecated ~~`YukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
- Deprecated the `useDangerousOperation` method in `YukiMemberHookCreator` - Deprecated ~~`useDangerousOperation`~~ method in `YukiMemberHookCreator`
- The `instanceClass` function in `YukiMemberHookCreator` is obsolete and is no longer recommended - Deprecated ~~`instanceClass`~~ function in `YukiMemberHookCreator`, it is no longer recommended
- Modify `instanceClass` in `HookParam` to be a null safe return value type - Modify `instanceClass` in `HookParam` to be a null safe return value type
- Detach all Hook objects created using `injectMember` to `LegacyCreator` - Detach all Hook objects created using `injectMember` to `LegacyCreator`
- Modify `appClassLoader` in `PackageParam` to be a null safe return value type - Modify `appClassLoader` in `PackageParam` to be a null safe return value type

View File

@@ -2,7 +2,10 @@
> If you have any questions in use, or have any constructive suggestions, you can contact us. > If you have any questions in use, or have any constructive suggestions, you can contact us.
Join us [Click to join Telegram group](https://t.me/YukiHookAPI), [Click to join Telegram group (Developer)](https://t.me/HighCapable_Dev). Join our developers group.
- [Click to join Telegram group](https://t.me/YukiHookAPI)
- [Click to join Telegram group (Developer)](https://t.me/HighCapable_Dev)
Find me on **Twitter** [@fankesyooni](https://twitter.com/fankesyooni). Find me on **Twitter** [@fankesyooni](https://twitter.com/fankesyooni).

View File

@@ -1286,7 +1286,7 @@ Xposed modulePackageName load failed, please reset and rebuild it
**Abnormal** **Abnormal**
When using `YYukiHookPrefsBridge` or `YukiHookDataChannel` in the Hook process, the `modulePackageName` at load time cannot be read, resulting in the package name of the own Module App cannot be determined. When using `YukiHookPrefsBridge` or `YukiHookDataChannel` in the Hook process, the `modulePackageName` at load time cannot be read, resulting in the package name of the own Module App cannot be determined.
**Solution** **Solution**

View File

@@ -38,7 +38,7 @@ Use `Android Studio` or `IntelliJ IDEA` to create a new Android project and sele
We recommend using Kotlin DSL as the Gradle build script language and [SweetDependency](https://github.com/HighCapable/SweetDependency) to manage dependencies. We recommend using Kotlin DSL as the Gradle build script language and [SweetDependency](https://github.com/HighCapable/SweetDependency) to manage dependencies.
#### SweetDependency Method #### SweetDependency (Recommended)
Add the repositories and dependencies in your project's `SweetDependency` configuration file. Add the repositories and dependencies in your project's `SweetDependency` configuration file.
@@ -104,7 +104,7 @@ dependencies {
} }
``` ```
#### Traditional Method (Not Recommended) #### Traditional Method
Add repositories in your project `build.gradle.kts` or `build.gradle`. Add repositories in your project `build.gradle.kts` or `build.gradle`.
@@ -289,10 +289,6 @@ override fun onInit() = configs {
} }
``` ```
**YukiHookAPI** will print all logs for debugging by default.
For a release build, be sure to turn off debugging to prevent a lot of log stuffing on the user's device.
You can also extends **Application** of your Module App from **ModuleApplication** to achieve a complete user experience. You can also extends **Application** of your Module App from **ModuleApplication** to achieve a complete user experience.
For more functions, please refer to [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication). For more functions, please refer to [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication).

View File

@@ -22,7 +22,7 @@ features:
details: The built Xposed Module simply supports R8, obfuscate will not destroy the hook entry point, and no other configuration is required under R8. details: The built Xposed Module simply supports R8, obfuscate will not destroy the hook entry point, and no other configuration is required under R8.
- title: Quickly Started - title: Quickly Started
details: Simple and easy to use it now! Do not need complex configuration and full development experience, Integrate dependencies and enjoy yourself. details: Simple and easy to use it now! Do not need complex configuration and full development experience, Integrate dependencies and enjoy yourself.
footer: Apache-2.0 License | Copyright (C) 2019-2023 HighCapable footer: Apache-2.0 License | Copyright (C) 2019-2024 HighCapable
--- ---
### All Hook process in one step, everything is simplified ### All Hook process in one step, everything is simplified

View File

@@ -13,5 +13,5 @@ actions:
- text: 简体中文 - text: 简体中文
link: /zh-cn/ link: /zh-cn/
type: secondary type: secondary
footer: Apache-2.0 License | Copyright (C) 2019-2023 HighCapable footer: Apache-2.0 License | Copyright (C) 2019-2024 HighCapable
--- ---

View File

@@ -2,14 +2,14 @@
> 此文档由 [VuePress](https://v2.vuepress.vuejs.org/zh) 强力驱动。 > 此文档由 [VuePress](https://v2.vuepress.vuejs.org/zh) 强力驱动。
## License ## 许可证
[Apache-2.0](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE) [Apache-2.0](https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE)
```:no-line-numbers ```:no-line-numbers
Apache License Version 2.0 Apache License Version 2.0
Copyright (C) 2019-2023 HighCapable Copyright (C) 2019-2024 HighCapable
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -24,4 +24,4 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
``` ```
版权所有 © 2019-2023 HighCapable 版权所有 © 2019-2024 HighCapable

View File

@@ -8,7 +8,13 @@
::: :::
### 1.2.0 | 2023.10.07 &ensp;<Badge type="tip" text="最新" vertical="middle" /> ### 1.2.1 | 2024.06.20 &ensp;<Badge type="tip" text="最新" vertical="middle" />
- 捕获单例 Hooker 中的异常,防止其阻断整个进程
- 在自动处理程序中添加自动使用 "`" 来修复 Kotlin 关键字为包名的情况,感谢 [Fengning Zhu](https://github.com/zhufengning) 的 [PR](https://github.com/HighCapable/YukiHookAPI/pull/70)
- 适配 Kotlin 2.0.0+,修复在自动处理过程中无法通过编译的问题,感谢 [xihan123](https://github.com/xihan123) 的 [PR](https://github.com/HighCapable/YukiHookAPI/pull/76)
### 1.2.0 | 2023.10.07 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
- 许可协议由 `MIT` 变更为 `Apache-2.0`,在此之后的版本将由此许可协议进行分发,您在使用此版本后应变更相关许可协议 - 许可协议由 `MIT` 变更为 `Apache-2.0`,在此之后的版本将由此许可协议进行分发,您在使用此版本后应变更相关许可协议
- 这是一次重大更新,详情请参考 [迁移到 YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-2-x) - 这是一次重大更新,详情请参考 [迁移到 YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-2-x)
@@ -18,8 +24,8 @@
- 新增 Resources Hook 相关功能支持,详情请参考这个 [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36) - 新增 Resources Hook 相关功能支持,详情请参考这个 [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36)
- 新增 `YukiHookAPI.TAG` - 新增 `YukiHookAPI.TAG`
- 作废了 ~~`YukiHookAPI.API_VERSION_NAME`~~、~~`YukiHookAPI.API_VERSION_CODE`~~,统一合并到 `YukiHookAPI.VERSION` - 作废了 ~~`YukiHookAPI.API_VERSION_NAME`~~、~~`YukiHookAPI.API_VERSION_CODE`~~,统一合并到 `YukiHookAPI.VERSION`
- 作废了 `YukiMemberHookCreator` 中的 `useDangerousOperation` 方法 - 作废了 ~~`YukiMemberHookCreator`~~ 中的 ~~`useDangerousOperation`~~ 方法
- 作废了 `YukiMemberHookCreator` 中的 `instanceClass` 功能,不再推荐使用 - 作废了 ~~`YukiMemberHookCreator`~~ 中的 ~~`instanceClass`~~ 功能,不再推荐使用
- 修改 `HookParam` 中的 `instanceClass` 为空安全返回值类型 - 修改 `HookParam` 中的 `instanceClass` 为空安全返回值类型
- 分离全部使用 `injectMember` 创建的 Hook 对象到 `LegacyCreator` - 分离全部使用 `injectMember` 创建的 Hook 对象到 `LegacyCreator`
- 修改 `PackageParam` 中的 `appClassLoader` 为空安全返回值类型 - 修改 `PackageParam` 中的 `appClassLoader` 为空安全返回值类型

View File

@@ -2,7 +2,11 @@
> 如在使用中有任何问题,或有任何建设性的建议,都可以联系我们。 > 如在使用中有任何问题,或有任何建设性的建议,都可以联系我们。
加入我们 [点击加入 Telegram 群组](https://t.me/YukiHookAPI)、[点击加入 Telegram 群组 (开发者)](https://t.me/HighCapable_Dev) 加入我们的开发者群组
- [点击加入 Telegram 群组](https://t.me/YukiHookAPI)
- [点击加入 Telegram 群组 (开发者)](https://t.me/HighCapable_Dev)
- [点击加入 QQ 群 (开发者)](https://qm.qq.com/cgi-bin/qm/qr?k=Pnsc5RY6N2mBKFjOLPiYldbAbprAU3V7&jump_from=webapi&authKey=X5EsOVzLXt1dRunge8ryTxDRrh9/IiW1Pua75eDLh9RE3KXE+bwXIYF5cWri/9lf)
**酷安** 找到我 [@星夜不荟](http://www.coolapk.com/u/876977)。 **酷安** 找到我 [@星夜不荟](http://www.coolapk.com/u/876977)。

View File

@@ -490,7 +490,7 @@ var isEnableHookSharedPreferences: Boolean
这是一个可选的实验性功能,此功能默认不启用。 这是一个可选的实验性功能,此功能默认不启用。
仅用于修复某些系统可能会出现在启用了 **New XSharedPreferences** 后依然出现文件权限错误问题,若你能正常使用 **YYukiHookPrefsBridge** 就不建议启用此功能。 仅用于修复某些系统可能会出现在启用了 **New XSharedPreferences** 后依然出现文件权限错误问题,若你能正常使用 **YukiHookPrefsBridge** 就不建议启用此功能。
::: :::

View File

@@ -38,7 +38,7 @@
我们推荐使用 Kotlin DSL 作为 Gradle 构建脚本语言并推荐使用 [SweetDependency](https://github.com/HighCapable/SweetDependency) 来管理依赖。 我们推荐使用 Kotlin DSL 作为 Gradle 构建脚本语言并推荐使用 [SweetDependency](https://github.com/HighCapable/SweetDependency) 来管理依赖。
#### SweetDependency 方式 #### SweetDependency (推荐)
在你的项目 `SweetDependency` 配置文件中添加存储库和依赖。 在你的项目 `SweetDependency` 配置文件中添加存储库和依赖。
@@ -103,7 +103,7 @@ dependencies {
} }
``` ```
#### 传统方式 (不推荐) #### 传统方式
在你的项目 `build.gradle.kts``build.gradle` 中添加存储库。 在你的项目 `build.gradle.kts``build.gradle` 中添加存储库。
@@ -287,8 +287,6 @@ override fun onInit() = configs {
} }
``` ```
**YukiHookAPI** 默认会打印所有用于调试的日志,若作为发布版本请务必关闭调试功能防止对用户设备造成大量日志填充。
你还可以将你的模块 APP 的 **Application** 继承于 **ModuleApplication** 以实现完整使用体验。 你还可以将你的模块 APP 的 **Application** 继承于 **ModuleApplication** 以实现完整使用体验。
更多功能请参考 [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication)。 更多功能请参考 [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication)。

View File

@@ -22,7 +22,7 @@ features:
details: 构建的 Xposed 模块原生支持 R8 压缩优化混淆,混淆不会破坏 Hook 入口点R8 下无需任何其它配置。 details: 构建的 Xposed 模块原生支持 R8 压缩优化混淆,混淆不会破坏 Hook 入口点R8 下无需任何其它配置。
- title: 快速上手 - title: 快速上手
details: 简单易用,不需要繁琐的配置,不需要十足的开发经验,搭建环境集成依赖即可立即开始使用。 details: 简单易用,不需要繁琐的配置,不需要十足的开发经验,搭建环境集成依赖即可立即开始使用。
footer: Apache-2.0 License | Copyright (C) 2019-2023 HighCapable footer: Apache-2.0 License | Copyright (C) 2019-2024 HighCapable
--- ---
### 所有 Hook 流程一步到位,拒绝繁琐 ### 所有 Hook 流程一步到位,拒绝繁琐

File diff suppressed because it is too large Load Diff

View File

@@ -6,18 +6,12 @@ kotlin.code.style=official
kotlin.incremental.useClasspathSnapshot=true kotlin.incremental.useClasspathSnapshot=true
# Project Configuration # Project Configuration
project.name=YukiHookAPI project.name=YukiHookAPI
project.description=An efficient Hook API and Xposed Module solution built in Kotlin.
project.url=https://github.com/HighCapable/YukiHookAPI project.url=https://github.com/HighCapable/YukiHookAPI
project.groupName=com.highcapable.yukihookapi project.groupName=com.highcapable.yukihookapi
project.yukihookapi-core.moduleName=api project.yukihookapi-core.moduleName=api
project.yukihookapi-core.version="1.2.0" project.yukihookapi-core.version="1.2.1"
project.yukihookapi-ksp-xposed.moduleName=ksp-xposed project.yukihookapi-ksp-xposed.moduleName=ksp-xposed
project.yukihookapi-ksp-xposed.version=${project.yukihookapi-core.version} project.yukihookapi-ksp-xposed.version=${project.yukihookapi-core.version}
project.licence.name=Apache License 2.0
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
project.android.compileSdk=34 project.android.compileSdk=34
project.android.minSdk=21 project.android.minSdk=21
project.android.targetSdk=34 project.android.targetSdk=34
@@ -28,6 +22,19 @@ project.samples-demo-module.packageName=${project.groupName}.demo_module
project.samples-demo-module.versionName=universal project.samples-demo-module.versionName=universal
project.samples-demo-module.versionCode=1 project.samples-demo-module.versionCode=1
# Maven Publish Configuration # Maven Publish Configuration
maven.publish.scm.connection=scm:git:git://github.com/HighCapable/YukiHookAPI.git SONATYPE_HOST=S01
maven.publish.scm.developerConnection=scm:git:ssh://github.com/HighCapable/YukiHookAPI.git RELEASE_SIGNING_ENABLED=true
maven.publish.scm.url=https://github.com/HighCapable/YukiHookAPI # Maven POM Configuration
POM_NAME=YukiHookAPI
POM_DESCRIPTION=An efficient Hook API and Xposed Module solution built in Kotlin.
POM_URL=https://github.com/HighCapable/YukiHookAPI
POM_LICENSE_NAME=Apache License 2.0
POM_LICENSE_URL=https://github.com/HighCapable/YukiHookAPI/blob/master/LICENSE
POM_LICENSE_DIST=repo
POM_SCM_URL=https://github.com/HighCapable/YukiHookAPI
POM_SCM_CONNECTION=scm:git:git://github.com/HighCapable/YukiHookAPI.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://github.com/HighCapable/YukiHookAPI.git
POM_DEVELOPER_ID=0
POM_DEVELOPER_NAME=fankes
POM_DEVELOPER_EMAIL=qzmmcn@163.com
POM_DEVELOPER_URL=https://github.com/fankes

View File

@@ -19,22 +19,22 @@ repositories:
plugins: plugins:
org.jetbrains.kotlin.jvm: org.jetbrains.kotlin.jvm:
alias: kotlin-jvm alias: kotlin-jvm
version: 1.9.10 version: 2.0.0
org.jetbrains.kotlin.android: org.jetbrains.kotlin.android:
alias: kotlin-android alias: kotlin-android
version-ref: kotlin-jvm version-ref: kotlin-jvm
com.google.devtools.ksp: com.google.devtools.ksp:
alias: kotlin-ksp alias: kotlin-ksp
version: 1.9.10-1.0.13 version: 2.0.0-1.0.22
com.android.application: com.android.application:
alias: android-application alias: android-application
version: 8.1.1 version: 8.5.0
com.android.library: com.android.library:
alias: android-library alias: android-library
version-ref: android-application version-ref: android-application
com.vanniktech.maven.publish: com.vanniktech.maven.publish:
alias: maven-publish alias: maven-publish
version: 0.25.3 version: 0.28.0
libraries: libraries:
de.robv.android.xposed: de.robv.android.xposed:
@@ -44,7 +44,7 @@ libraries:
rovo89-xposed-api rovo89-xposed-api
com.github.tiann: com.github.tiann:
FreeReflection: FreeReflection:
version: 3.1.0 version: 3.2.0
repositories: repositories:
jit-pack jit-pack
com.google.devtools.ksp: com.google.devtools.ksp:
@@ -52,28 +52,28 @@ libraries:
version-ref: <plugins>::kotlin-ksp version-ref: <plugins>::kotlin-ksp
com.google.auto.service: com.google.auto.service:
auto-service-annotations: auto-service-annotations:
version: 1.0.1 version: 1.1.1
dev.zacsweers.autoservice: dev.zacsweers.autoservice:
auto-service-ksp: auto-service-ksp:
version: 1.0.0 version: 1.2.0
androidx.annotation: androidx.annotation:
annotation: annotation:
version: 1.6.0 version: 1.8.0
androidx.preference: androidx.preference:
preference-ktx: preference-ktx:
version: 1.2.0 version: 1.2.1
androidx.core: androidx.core:
core-ktx: core-ktx:
version: 1.10.0 version: 1.13.1
androidx.appcompat: androidx.appcompat:
appcompat: appcompat:
version: 1.6.1 version: 1.7.0
androidx.lifecycle: androidx.lifecycle:
lifecycle-viewmodel-ktx: lifecycle-viewmodel-ktx:
version: 2.6.1 version: 2.8.2
com.google.android.material: com.google.android.material:
material: material:
version: 1.8.0 version: 1.12.0
androidx.constraintlayout: androidx.constraintlayout:
constraintlayout: constraintlayout:
version: 2.1.4 version: 2.1.4

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

1
samples/.gitignore vendored
View File

@@ -1 +0,0 @@
/build

View File

@@ -1 +0,0 @@
/build

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,3 +1,2 @@
/build
/src/main/assets/xposed_init /src/main/assets/xposed_init
/src/main/resources/META-INF/yukihookapi_init /src/main/resources/META-INF/yukihookapi_init

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -7,8 +7,8 @@ pluginManagement {
} }
} }
plugins { plugins {
id("com.highcapable.sweetdependency") version "1.0.2" id("com.highcapable.sweetdependency") version "1.0.4"
id("com.highcapable.sweetproperty") version "1.0.3" id("com.highcapable.sweetproperty") version "1.0.5"
} }
sweetProperty { sweetProperty {
global { global {
@@ -19,11 +19,8 @@ sweetProperty {
} }
rootProject { all { isEnable = false } } rootProject { all { isEnable = false } }
project(":samples") { all { isEnable = false } } project(":samples") { all { isEnable = false } }
project(":samples:demo-app") { sourcesCode { isEnable = false } } project(":samples:demo-app", ":samples:demo-module", ":yukihookapi-stub") { sourcesCode { isEnable = false } }
project(":samples:demo-module") { sourcesCode { isEnable = false } } project(":yukihookapi-core", ":yukihookapi-ksp-xposed") { sourcesCode { className = rootProject.name } }
project(":yukihookapi-core") { sourcesCode { className = rootProject.name } }
project(":yukihookapi-ksp-xposed") { sourcesCode { className = rootProject.name } }
project(":yukihookapi-stub") { sourcesCode { isEnable = false } }
} }
rootProject.name = "YukiHookAPI" rootProject.name = "YukiHookAPI"
include(":samples:demo-app", ":samples:demo-module") include(":samples:demo-app", ":samples:demo-module")

View File

@@ -1 +0,0 @@
/build

View File

@@ -1,9 +1,14 @@
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
plugins { plugins {
autowire(libs.plugins.android.library) autowire(libs.plugins.android.library)
autowire(libs.plugins.kotlin.android) autowire(libs.plugins.kotlin.android)
autowire(libs.plugins.maven.publish) autowire(libs.plugins.maven.publish)
} }
group = property.project.groupName
version = property.project.yukihookapi.core.version
android { android {
namespace = property.project.groupName namespace = property.project.groupName
compileSdk = property.project.android.compileSdk compileSdk = property.project.android.compileSdk
@@ -43,31 +48,10 @@ dependencies {
} }
mavenPublishing { mavenPublishing {
coordinates(property.project.groupName, property.project.yukihookapi.core.moduleName, property.project.yukihookapi.core.version) configure(AndroidSingleVariantLibrary(publishJavadocJar = false))
pom { coordinates(
name = property.project.name groupId = group.toString(),
description = property.project.description artifactId = property.project.yukihookapi.core.moduleName,
url = property.project.url version = version.toString()
licenses { )
license {
name = property.project.licence.name
url = property.project.licence.url
distribution = property.project.licence.url
}
}
developers {
developer {
id = property.project.developer.id
name = property.project.developer.name
email = property.project.developer.email
}
}
scm {
url = property.maven.publish.scm.url
connection = property.maven.publish.scm.connection
developerConnection = property.maven.publish.scm.developerConnection
}
}
publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.S01)
signAllPublications()
} }

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0
@@ -460,13 +460,13 @@ object YukiHookAPI {
*/ */
fun encase(baseContext: Context?, vararg hooker: YukiBaseHooker) { fun encase(baseContext: Context?, vararg hooker: YukiBaseHooker) {
isLoadedFromBaseContext = true isLoadedFromBaseContext = true
if (HookApiCategoryHelper.hasAvailableHookApi) if (HookApiCategoryHelper.hasAvailableHookApi) {
(if (baseContext != null) if (baseContext != null)
if (hooker.isNotEmpty()) { if (hooker.isNotEmpty()) {
printSplashInfo() printSplashInfo()
hooker.forEach { it.assignInstance(packageParam = baseContext.createPackageParam()) } hooker.forEach { it.assignInstance(packageParam = baseContext.createPackageParam()) }
} else YLog.innerE("Failed to passing \"encase\" method because your hooker param is empty", isImplicit = true)) } else YLog.innerE("Failed to passing \"encase\" method because your hooker param is empty", isImplicit = true)
else printNotFoundHookApiError() } else printNotFoundHookApiError()
} }
/** 输出欢迎信息调试日志 */ /** 输出欢迎信息调试日志 */

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0
@@ -23,6 +23,7 @@ package com.highcapable.yukihookapi.hook.entity
import com.highcapable.yukihookapi.YukiHookAPI import com.highcapable.yukihookapi.YukiHookAPI
import com.highcapable.yukihookapi.annotation.xposed.InjectYukiHookWithXposed import com.highcapable.yukihookapi.annotation.xposed.InjectYukiHookWithXposed
import com.highcapable.yukihookapi.hook.log.YLog
import com.highcapable.yukihookapi.hook.param.PackageParam import com.highcapable.yukihookapi.hook.param.PackageParam
/** /**
@@ -44,7 +45,7 @@ abstract class YukiBaseHooker : PackageParam() {
*/ */
internal fun assignInstance(packageParam: PackageParam) { internal fun assignInstance(packageParam: PackageParam) {
assign(packageParam.wrapper) assign(packageParam.wrapper)
onHook() runCatching { onHook() }.onFailure { YLog.innerE("An exception occurred in $this", it) }
} }
/** 子类 Hook 开始 */ /** 子类 Hook 开始 */

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

View File

@@ -1,6 +1,6 @@
/* /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin. * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2023 HighCapable * Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI * https://github.com/HighCapable/YukiHookAPI
* *
* Apache License Version 2.0 * Apache License Version 2.0

Some files were not shown because too many files have changed in this diff Show More