react / react/react-native

Android: Installed services

Đang mở
#30,864 19 bình luận 1 reaction 1 người được giao Xem trên GitHub

@Naturalclar đang làm issue này rồi.

Từ ngày 22/3/2021.

Accessibility Accessibility Team - Evaluated Good first issue Needs: Docs Website PR Platform: Android
Ngôn ngữ chính
C++
Star
127k
Fork
25.3k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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()

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.