YukiHookAPI 1.1.9 Released
- Change the type of dependent library from Java Library (jar) to Android Library (aar)
- Remove the inspection function of internal methods and parameters through Hook or reflection API
- Fixed the problem that
YukiHookDataChannel
automatically segmented data sending function could not work normally (exception would still be thrown) - Added the ability to manually modify the maximum data byte size allowed by
YukiHookDataChannel
to be sent at one time according to the limitations of the target device - Remove the restriction that
YukiHookDataChannel
can only be used in moduleActivity
, now you can use it anywhere - Modify and standardize the broadcast Action name used by
YukiHookDataChannel
- Fix the problem that
BadParcelableException
occurs whenYukiHookDataChannel
has different modules with the same host - Added
ExecutorType
, you can get the type of known Hook Framework throughYukiHookAPI.Status.Executor.type
renamed toYukiHookModulePrefs
YukiHookPrefsBridge
- Modify
YukiHookPrefsBridge
to be implemented as a non-singleton, as a singleton may cause data confusion - Deprecated
method, please move toContext.modulePrefs(...)
Context.prefs(...)
YukiHookPrefsBridge
addsnative
method, which supports storing private data in modules and hosts directly as native storage- Integrate the storage method in
YukiHookPrefsBridge
toYukiHookPrefsBridge.Editor
, please useedit
method to store data YukiHookPrefsBridge
addscontains
method- Cache dynamically created proxy objects in
YukiHookPrefsBridge
, try to fix problems that may cause OOM in the host and modules - Modify the proxy class of the
Activity
proxy function to be dynamically generated to prevent conflicts caused by injecting different modules into the host - Fixed some other possible problems
For more details, please check the changelog.
YukiHookAPI 1.1.9 已发布
- 将依赖库的类型由 Java Library (jar) 修改为 Android Library (aar)
- 移除通过 Hook 或反射 API 内部方法、参数的检查功能
- 修复
YukiHookDataChannel
自动分段发送数据功能不能正常生效 (依然会抛出异常) 的问题 - 新增可以手动根据目标设备的限制修改
YukiHookDataChannel
允许一次发送的最大数据字节大小 - 移除
YukiHookDataChannel
只能在模块Activity
中使用的限制,现在你可以在任何地方使用它 - 修改并规范
YukiHookDataChannel
使用的广播 Action 名称 - 修复
YukiHookDataChannel
在不同模块同一宿主的情况下出现BadParcelableException
异常的问题 - 新增
ExecutorType
,可以通过YukiHookAPI.Status.Executor.type
来获取已知 Hook Framework 的类型 更名为YukiHookModulePrefs
YukiHookPrefsBridge
- 修改
YukiHookPrefsBridge
为非单例实现,作为单例可能发生数据混淆的问题 - 作废了
方法,请转移到Context.modulePrefs(...)
Context.prefs(...)
YukiHookPrefsBridge
新增native
方法,支持直接作为原生存储在模块和宿主中存储私有数据- 整合
YukiHookPrefsBridge
中的存储方法到YukiHookPrefsBridge.Editor
,请使用edit
方法来存储数据 YukiHookPrefsBridge
新增contains
方法- 缓存
YukiHookPrefsBridge
中动态创建的代理对象,尝试修复可能会导致宿主、模块出现 OOM 的问题 - 修改
Activity
代理功能的代理类为动态生成,防止不同模块注入宿主后造成冲突 - 修复一些其它可能出现的问题
详情请查看更新日志。