mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-28 16:58:41 +01:00
flutter_overlay_window starts a second Flutter engine when the activity attaches, which registers this plugin again. Its handlers replaced the app engine's in the static Observable, so every key the accessibility service forwarded went to an engine nobody listens on: HID keyboards, remotes and gamepads did nothing while the service swallowed their keys. Keep one receiver per engine and send events to all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dart run pigeon --input api.dart --dart_out lib/accessibility.dart --kotlin_out ./android/src/main/kotlin/de/jonasbark/accessibility/AccessibilityApi.kt