1.1.9
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
YukiHookDataChannelautomatically 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
YukiHookDataChannelto be sent at one time according to the limitations of the target device - Remove the restriction that
YukiHookDataChannelcan 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
BadParcelableExceptionoccurs whenYukiHookDataChannelhas different modules with the same host - Added
ExecutorType, you can get the type of known Hook Framework throughYukiHookAPI.Status.Executor.type renamed toYukiHookModulePrefsYukiHookPrefsBridge- Modify
YukiHookPrefsBridgeto be implemented as a non-singleton, as a singleton may cause data confusion - Deprecated
method, please move toContext.modulePrefs(...)Context.prefs(...) YukiHookPrefsBridgeaddsnativemethod, which supports storing private data in modules and hosts directly as native storage- Integrate the storage method in
YukiHookPrefsBridgetoYukiHookPrefsBridge.Editor, please useeditmethod to store data YukiHookPrefsBridgeaddscontainsmethod- 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
Activityproxy 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 的类型 更名为YukiHookModulePrefsYukiHookPrefsBridge- 修改
YukiHookPrefsBridge为非单例实现,作为单例可能发生数据混淆的问题 - 作废了
方法,请转移到Context.modulePrefs(...)Context.prefs(...) YukiHookPrefsBridge新增native方法,支持直接作为原生存储在模块和宿主中存储私有数据- 整合
YukiHookPrefsBridge中的存储方法到YukiHookPrefsBridge.Editor,请使用edit方法来存储数据 YukiHookPrefsBridge新增contains方法- 缓存
YukiHookPrefsBridge中动态创建的代理对象,尝试修复可能会导致宿主、模块出现 OOM 的问题 - 修改
Activity代理功能的代理类为动态生成,防止不同模块注入宿主后造成冲突 - 修复一些其它可能出现的问题
详情请查看更新日志。