Skip to content

Android: Installed services #30864

Open
Open
@amarlette

Description

@amarlette

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions