Android: Installed services #30864
Labels
Accessibility Team - Evaluated
Accessibility
Good first issue
Interested in collaborating? Take a stab at fixing one of these issues.
Needs: Docs Website PR
To encourage the authors to create a website PR for documentation.
Platform: Android
Android applications.
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()
The text was updated successfully, but these errors were encountered: