-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Android: Installed services #30864
Copy link
Copy link
Open
Labels
AccessibilityAccessibility Team - EvaluatedGood first issueInterested in collaborating? Take a stab at fixing one of these issues.Interested in collaborating? Take a stab at fixing one of these issues.Needs: Docs Website PRTo encourage the authors to create a website PR for documentation.To encourage the authors to create a website PR for documentation.Platform: AndroidAndroid applications.Android applications.
Metadata
Metadata
Assignees
Labels
AccessibilityAccessibility Team - EvaluatedGood first issueInterested in collaborating? Take a stab at fixing one of these issues.Interested in collaborating? Take a stab at fixing one of these issues.Needs: Docs Website PRTo encourage the authors to create a website PR for documentation.To encourage the authors to create a website PR for documentation.Platform: AndroidAndroid applications.Android applications.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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()