a11y_service 0.0.15 copy "a11y_service: ^0.0.15" to clipboard
a11y_service: ^0.0.15 copied to clipboard

PlatformAndroid

A Flutter plugin for Android Accessibility Service.

a11y_service #

Usage #

  • AndroidManifest.xml
<service
    android:name="com.liasica.a11y_service.A11yService"
    android:exported="true"
    android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
    <intent-filter>
        <action android:name="android.accessibilityservice.AccessibilityService" />
    </intent-filter>
    <meta-data
        android:name="android.accessibilityservice"
        android:resource="@xml/accessibilityservice" />
</service>
  • res/xml/accessibilityservice.xml
<?xml version="1.0" encoding="utf-8"?>
<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
    android:accessibilityEventTypes="typeWindowsChanged|typeWindowStateChanged|typeWindowContentChanged"
    android:accessibilityFeedbackType="feedbackVisual"
    android:canPerformGestures="true"
    android:notificationTimeout="300"
    android:accessibilityFlags="flagDefault|flagIncludeNotImportantViews|flagRequestTouchExplorationMode|flagRequestEnhancedWebAccessibility|flagReportViewIds|flagRetrieveInteractiveWindows"
    android:canRetrieveWindowContent="true"
>
</accessibility-service>

Refers #

1
likes
130
points
28
downloads

Publisher

verified publisherliasica.com

Weekly Downloads

A Flutter plugin for Android Accessibility Service.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on a11y_service