floaty_chatheads_android 1.0.3
floaty_chatheads_android: ^1.0.3 copied to clipboard
Android implementation of floaty_chatheads. Uses SYSTEM_ALERT_WINDOW with a foreground service, Facebook Rebound spring physics, Pigeon-generated APIs, theming, debug inspector, and full TalkBack acce [...]
Changelog #
1.0.3 #
✨ Enhancements #
- Upgraded Pigeon to 26.2.3. Regenerated all Dart and Kotlin Pigeon bindings. No API surface changes — the upgrade picks up codec and code-generation improvements from the latest Pigeon release.
1.0.2 #
✨ Enhancements #
- Debug logs are now optional and silent by default. All native
Log.d/w/eoutput is gated behindManagment.debugMode. Developers enable verbose logging by settingdebugMode: trueinChatHeadConfig; production builds produce zero log noise. Three convenience helpers (Managment.logD,logW,logE) replace every rawLog.*call acrossFloatyContentJobService,FlutterContentPanel, andChatHeads.
🐛 Bug Fixes #
- Fixed content panel rendering fullscreen on subsequent launches.
The root cause was a two-stage data loss: when the service had not
started yet,
showChatHead()only persisted the entry point toSharedPreferences, omitting content dimensions and all other config. When the service'sonCreate()later calledrestoreConfig(), it overwrote the in-memoryManagmentvalues withnull, causingcreateWindow()to skipsetContentSize()and fall back toMATCH_PARENT. The fix saves the full config to SharedPreferences in the plugin's else branch and adds a defensive guard inonCreate()to skiprestoreConfig()whenManagmentis already populated. - Fixed content panel dimensions and touch interaction leaking between
chathead sessions. The plugin now explicitly tears down stale windows
and calls
createWindow()directly with freshManagmentvalues instead of deferring toonStartCommand().
1.0.1 #
- Documentation and metadata updates.
1.0.0 #
🎉 Initial Release #
- Android implementation of
floaty_chatheadsusingSYSTEM_ALERT_WINDOW. - Pigeon-generated type-safe Dart ↔ Kotlin communication.
- Facebook Rebound spring physics for bubble drag and snap animations.
- Foreground service with configurable notification.
- Separate
FlutterEnginefor overlay content panels. - Theming support: badge colors, bubble border, shadow, close tint.
- Overlay palette delivery to Flutter overlay isolate.
- Size preset resolution with half-screen and full-screen sentinels.
- Debug overlay view with bounds, spring HUD, FPS counter, and Pigeon message log.
- Full TalkBack accessibility: content descriptions, state announcements, focus management, and custom accessibility actions.
- Snap-to-edge with configurable margin and position persistence.
- Entrance animations: slide-in and fade-in variants.
- Badge counter updates from both main app and overlay.
- Programmatic expand / collapse.