Skip to content

feat: Add getInstalledAccessibilityServices and getEnabledAccessibilityServices APIs#56268

Open
taibin wants to merge 1 commit intofacebook:mainfrom
taibin:feat/accessibility-services-api-v2
Open

feat: Add getInstalledAccessibilityServices and getEnabledAccessibilityServices APIs#56268
taibin wants to merge 1 commit intofacebook:mainfrom
taibin:feat/accessibility-services-api-v2

Conversation

@taibin
Copy link
Copy Markdown

@taibin taibin commented Mar 30, 2026

Summary

Added two new APIs to AccessibilityInfo to query accessibility services on Android:

  • getInstalledAccessibilityServices(): Returns a Promise that resolves to an array of all installed accessibility services
  • getEnabledAccessibilityServices(): Returns a Promise that resolves to an array of currently enabled accessibility services

Each service object contains:

  • id: The unique identifier of the accessibility service
  • name: The human-readable name of the accessibility service

Changelog

[ANDROID] [ADDED] - Added getInstalledAccessibilityServices and getEnabledAccessibilityServices APIs to AccessibilityInfo

Test Plan

  • Android Kotlin compilation passes
  • TypeScript types added
  • Jest mock updated
  • Manual testing on Android device

Closes #30864, #30862

🤖 Generated with Claude Code

…tyServices APIs

Added two new APIs to AccessibilityInfo to query accessibility services on Android:

- `getInstalledAccessibilityServices()`: Returns list of all installed accessibility services
- `getEnabledAccessibilityServices()`: Returns list of currently enabled accessibility services

Each service object contains `id` (unique identifier) and `name` (human-readable name).

Closes facebook#30864, facebook#30862

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 30, 2026
@github-actions
Copy link
Copy Markdown

Caution

Missing Changelog

Please add a Changelog to your PR description. See Changelog format

@facebook-github-tools facebook-github-tools bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android: Installed services

1 participant