Skip to content

Commit 6cf7ae7

Browse files
committed
feat(README): 更新微信无障碍适配方案
- 在 README 中添加了新的无障碍服务配置,解决微信 8.0.51以上版本节点元素混淆问题 - 更新了更新日志,记录了 v3.2.12版本的变更: -减少不必要的包体积 - 兼容微信 8.0.51 以上版本的节点元素混淆问题
1 parent 86db982 commit 6cf7ae7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,23 @@ dependencies {
9999
android:name="android.accessibilityservice"
100100
android:resource="@xml/assists_service" />
101101
</service>
102+
103+
<!-- 或者使用下面的服务可以解决一些应用混淆节点的问题,比如微信8.0.51以上版本获取的节点元素错乱问题 -->
104+
<!-- ⚠️ 选其一 -->
105+
<service
106+
android:name="com.google.android.accessibility.selecttospeak.SelectToSpeakService"
107+
android:enabled="true"
108+
android:exported="true"
109+
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
110+
<!--android:priority="10000" 可提高服务在设置中的权重,排在前面 -->
111+
<intent-filter android:priority="10000">
112+
<action android:name="android.accessibilityservice.AccessibilityService" />
113+
</intent-filter>
114+
<meta-data
115+
android:name="android.accessibilityservice"
116+
android:resource="@xml/assists_service" />
117+
</service>
118+
102119
<!-- 添加代码 ↑-->
103120
</application>
104121

@@ -174,6 +191,11 @@ StepManager.isStop = true
174191
- [Appium结合AccessibilityService实现自动化微信登录](https://juejin.cn/post/7483409317564907530)
175192

176193
## 更新日志
194+
### v3.2.12
195+
更新时间:2025-03-25
196+
1. assists-mp去掉对于opencv减少不必要的包体积
197+
2. 兼容微信8.0.51以上版本获取的节点元素被混淆问题
198+
177199
### v3.2.11
178200
更新时间:2025-03-19
179201
1. 修复手势执行一直未释放问题

0 commit comments

Comments
 (0)