-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from GuoXiCheng/dev-c
update docs
- Loading branch information
Showing
5 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
# 关于功能介绍 | ||
|
||
![🚧](/images/under-construction.png) | ||
## 源代码 | ||
|
||
点击「源代码」功能按钮时,会跳转到 GitHub 仓库页面,方便查看源代码。 | ||
|
||
但某些情况下,如果网络缓慢,可能会出现无法访问的情况。 | ||
|
||
## 文档 | ||
|
||
点击「文档」功能按钮时,会跳转到「SKIP」文档页面,可以查看完整文档。 | ||
|
||
## 应用版本号 | ||
|
||
点击「应用版本号」功能按钮时,会主动检查应用的版本号: | ||
|
||
- 如果有新版本,会提示更新 | ||
- 如果没有新版本,会显示当前版本号 | ||
|
||
## 配置版本号 | ||
|
||
点击「配置版本号」功能按钮时,会主动检查配置的版本号。 | ||
|
||
如果在自定义配置输入框中填写了: | ||
|
||
- 有效的 URL 地址,会从该地址获取配置文件,并显示版本号。如果反复点击配置版本号,会重新获取配置文件并显示最新的版本号 | ||
- 有效的纯文本的配置内容,会显示对应的版本号,并且即使反复点击配置版本号也不会变化 | ||
- 无效的配置内容,会显示「未检测到有效的配置」 | ||
|
||
### 配置版本号的算法 | ||
|
||
配置版本号的算法是通过计算 JSON 字符串格式配置文件的 MD5 值来实现的,因此,只要配置内容不变,配置版本号就不会变化。 | ||
|
||
<<< @/../app/src/main/java/com/android/skip/data/config/ConfigReadRepository.kt#MD5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# 应用保活功能介绍 | ||
|
||
![🚧](/images/under-construction.png) | ||
## 为什么要应用保活 | ||
|
||
在移动端,应用保活是指应用在后台运行时,保持应用的一些功能或服务持续运行,以提升用户体验。例如,音乐播放器在后台播放音乐。 | ||
|
||
为了保证无障碍服务的正常运行,需要保证应用在后台运行时,服务不会被系统回收。因此,需要使用应用保活功能。 | ||
|
||
## 应用保活的方式 | ||
|
||
- 允许应用自启动 | ||
- 锁定应用 | ||
- 使用前台服务常驻通知栏 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# 应用白名单功能介绍 | ||
|
||
![🚧](/images/under-construction.png) | ||
应用白名单功能会列出所有已经安装的应用,可以在右上角的菜单中选择是否「列出系统应用」。因为系统应用较多,所以默认是不列出的。 | ||
|
||
当把一个应用加入白名单时(开关打开状态),「SKIP」就不会对这个应用执行任何「点击」的动作(无论是否在配置中定义),因此,该功能可以用来防止「SKIP」对某些应用的干扰。 |