react / react/react-native

Android: Installed services

未关闭
#30,864 19 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

@Naturalclar 已经在做这个了。

开始于 2021年3月22日。

Accessibility Accessibility Team - Evaluated Good first issue Needs: Docs Website PR Platform: Android
主要语言
C++
星标
127k
派生
25.3k
平均合并
1 天 23 小时
30 天内合并 PR
4

描述

Requires API Proposal

This issue may require a new API, or a change to an existing API. An API proposal should be added and discussed before proceeding with implementation. The API proposal can be added in the comments of this issue or linked as a separate issue.

This issue has a parent issue #31346 and is intertwined with #30863 & #30862. Please review those issues before working on this one.

Description

Sometimes it is useful to query what accessibility services a user has installed so that you can tailor your app's UI for potential changes that may be necessary if those services are enabled. For example, if a user has the "Select to speak" service installed, you may want to present your UI in an easier-to-select layout with more padding between elements, and only trigger that change when the service is enabled.

React Native version:

v0.63

Expected Behavior

The AccessibilityInfo API should have a way to query a list of installed accessibility services.

Android Details

This functionality is available on the AccessibilityManager class via the getInstalledAccessibilityServiceList method.
https://developer.android.com/reference/android/view/accessibility/AccessibilityManager#getInstalledAccessibilityServiceList()

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。