docs: fix some typo

This commit is contained in:
2023-10-11 14:19:59 +08:00
parent dc4b0281bd
commit 9a152a436d
6 changed files with 8 additions and 14 deletions

View File

@@ -25,11 +25,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)
- Added support for Resources Hook related functions, please refer to this [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36) for details
- 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`
- Obsolete ~~`YYukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
- Deprecated the `useDangerousOperation` method in `YukiMemberHookCreator`
- The `instanceClass` function in `YukiMemberHookCreator` is obsolete and is no longer recommended
- Deprecated ~~`YukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
- Deprecated ~~`useDangerousOperation`~~ method in `YukiMemberHookCreator`
- Deprecated ~~`instanceClass`~~ function in `YukiMemberHookCreator`, it is no longer recommended
- Modify `instanceClass` in `HookParam` to be a null safe return value type
- Detach all Hook objects created using `injectMember` to `LegacyCreator`
- Modify `appClassLoader` in `PackageParam` to be a null safe return value type

View File

@@ -1286,7 +1286,7 @@ Xposed modulePackageName load failed, please reset and rebuild it
**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**

View File

@@ -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.
For more functions, please refer to [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication).

View File

@@ -18,8 +18,8 @@
- 新增 Resources Hook 相关功能支持,详情请参考这个 [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36)
- 新增 `YukiHookAPI.TAG`
- 作废了 ~~`YukiHookAPI.API_VERSION_NAME`~~、~~`YukiHookAPI.API_VERSION_CODE`~~,统一合并到 `YukiHookAPI.VERSION`
- 作废了 `YukiMemberHookCreator` 中的 `useDangerousOperation` 方法
- 作废了 `YukiMemberHookCreator` 中的 `instanceClass` 功能,不再推荐使用
- 作废了 ~~`YukiMemberHookCreator`~~ 中的 ~~`useDangerousOperation`~~ 方法
- 作废了 ~~`YukiMemberHookCreator`~~ 中的 ~~`instanceClass`~~ 功能,不再推荐使用
- 修改 `HookParam` 中的 `instanceClass` 为空安全返回值类型
- 分离全部使用 `injectMember` 创建的 Hook 对象到 `LegacyCreator`
- 修改 `PackageParam` 中的 `appClassLoader` 为空安全返回值类型

View File

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

View File

@@ -287,8 +287,6 @@ override fun onInit() = configs {
}
```
**YukiHookAPI** 默认会打印所有用于调试的日志,若作为发布版本请务必关闭调试功能防止对用户设备造成大量日志填充。
你还可以将你的模块 APP 的 **Application** 继承于 **ModuleApplication** 以实现完整使用体验。
更多功能请参考 [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication)。