YukiHookAPI 1.1.8 Released
- Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as
result
during callback, thanks to #23 - Move the entry class name file automatically generated by
YukiHookAPI
fromassets/yukihookapi_init
toresources/META-INF/yukihookapi_init
- When only printing the exception stack, the
msg
parameter is allowed to be empty and themsg
parameter can not be set, and the log with themsg
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
HookParam
addsinstanceOrNull
variable and method, which can be used on the premise that the Hook instance is not sure whether it is empty to prevent the Hook instance from being empty and throw an exception- Decoupled all hookers in
Member
lookup functionality toMemberBaseFinder.MemberHookerManager
- Modified the usage of
by
condition inYukiMemberHookCreator
, now you can reuseby
method to set multiple conditions - Removed wrong
Class
object declaration in Androidtype
- The
registerReceiver
method inPackageParam.AppLifecycle
adds the function of directly usingIntentFilter
to create a system broadcast listener - Fixed the problem that there may be multiple registration lifecycles in
PackageParam.AppLifecycle
- Revert: The 1.1.7 version has been withdrawn due to a serious problem, please update to this version directly (the update log is the same as version 1.1.7)
For more details, please check the changelog.
YukiHookAPI 1.1.8 已发布
- 修复底层 Hook 方法在回调时修改
result
等参数时时不能同步更新修改后的状态问题,感谢 #23 - 移动
YukiHookAPI
自动生成的入口类名称文件assets/yukihookapi_init
到resources/META-INF/yukihookapi_init
- 允许在仅打印异常堆栈时
msg
参数为空并可以不设置msg
参数,留空msg
参数的日志除非异常堆栈不为空否则将不会被记录 - 修复 Hook 回调方法体内发生的异常打印的日志无具体方法信息的 BUG
HookParam
新增instanceOrNull
变量与方法,可以在不确定 Hook 实例是否为空的前提下使用以防止 Hook 实例为空抛出异常- 解耦合所有
Member
查找功能中的 Hooker 到MemberBaseFinder.MemberHookerManager
- 修改了
YukiMemberHookCreator
中的by
条件用法,现在可以重复使用by
方法设置多个条件 - 移除了 Android
type
中的错误Class
对象声明 PackageParam.AppLifecycle
中的registerReceiver
方法新增直接使用IntentFilter
创建系统广播监听的功能- 修复在
PackageParam.AppLifecycle
中可能存在多次注册生命周期的问题 - Revert: 1.1.7 版本由于有一个严重问题已经撤回,请直接更新到此版本即可 (更新日志同 1.1.7 版本)
详情请查看更新日志。