embed_flutter 0.0.19
embed_flutter: ^0.0.19 copied to clipboard
A powerful Flutter SDK that provides a powerful voice-enabled AI-agent functionality with real-time widget tree monitoring for screen context fetching and realtime voice communication.
Changelog #
0.0.19 #
Fixes #
- Relaxed the
livekit_clientconstraint from the exact pin2.6.5back to^2.5.3. The exact pin transitively forcedmeta ^1.17.0(required by livekit_client 2.6.5), which brokepub getfor apps on older Flutter SDKs that pinmeta 1.16.0. The range lets pub select a compatible livekit_client version per app.
0.0.18 #
FAB pre-show delay & per-flow delay policy #
- Added
embedButtonDelayMs(onEmbedWidget/EmbedProvider) — global delay before the FAB appears after navigating to an enabled route. Default0(no delay). - Added
groupDelays(Map<String, EmbedButtonDelay>) — per-flow delay override withEmbedButtonDelayPolicy:perScreen,oncePerGroupEntry,oncePerAppSession. Falls back toembedButtonDelayMs. - Added React-API aliases on
EmbedButtonContinuity:continuous(=keepVisible) andperScreen(=reset), plusEmbedButtonContinuity.fromString/EmbedButtonDelayPolicy.fromStringparsers.
Fixes #
- Nudge/inactivity countdown now starts when the FAB becomes visible (after
embedButtonDelayMs), not when the route is first entered. inactivity_behaviour: "auto_trigger"now maps toInactivityMode.AUTO_TRIGGER(auto-starts the call likestart_call); previously it silently fell back to showing the popup. AddedInactivityMode.fromBehaviour.- FAB no longer renders off-screen on the app's initial/home route — position is recomputed once the screen size is available (post first layout) and on metrics changes.
- Fixed
agentTapToOpen/agentTapToCloseenum identifiers (backend valuesagent_tap_to_open/agent_tap_to_closeunchanged).
Docs #
- Added
doc/fab-visibility-advanced.md(Flutter FAB visibility guide) anddoc/embed-button-delay.md.
0.0.17 #
- Typewriter transcription panel: vertical expansion from bottom to top when
type == "calculation"data received via LiveKit - FAB positioning:
widget_position(bottom-right,bottom-left,top-right,top-left) now respected from backend config - Fixed
bottomPaddingandrightPaddingnot applying correctly to FAB position - Bounce animation on FAB when transcription panel closes
- Analytics event names updated:
agent_tap_to_open/agent_tap_to_close SdkEventNameenum added for all internally-fired analytics event names (exported as public API)- All public event APIs (
embedEvent,embedTrackEvent, etc.) now returnFuture<bool>for send-success feedback EmbedRouteListenerwidget added for GoRouter / ShellRoute automatic route detectionEmbedNavigatorObservernow accepts optionalnameExtractorfor GoRouter alias support- Route matching now strips leading slashes — GoRouter paths (
/home) match aliases (home) - Cache-first config strategy restored in
_fetchUIConfigwith API fallback on cold start - Removed all debug logs; all exceptions handled internally — zero crash guarantee for host app
- Removed dead
_buildTranscriptionPaneloverlay (superseded by inline vertical expansion)
0.0.16 #
- Graceful exception handling across SDK — zero crash guarantee
- Fixed event routing and SDK key resolution issues
- Stability Improvements
0.0.15 #
- Stability Improvements
0.0.14 #
- Minor Bug Fixes and Stability Improvements
0.0.13 #
- Minor Bug Fixes and Stability Improvements
0.0.12 #
- Added capability to send ANALYTICS_DATA event from screens which are not part of enabled routes.
0.0.11 #
- Added ANALYTICS_DATA event for tracking structured analytics events with a specific event identifier
0.0.10 #
- Minor Bug Fixes and UI improvements
0.0.9 #
- Added rightPadding and bottomPadding to set the initial position of Embed Widget
0.0.8 #
- Added onPermissionStatusChanged callback to recieve the permission status change events
- Minor Bug Fixes and Stability Improvements
0.0.7 #
- Minor Bug Fixes and Stability Improvements
0.0.6 #
- Bluetooth Headset Support added
- Added Inactivity Actions
- Minor Bug Fixes and Stability Improvements
0.0.5 #
- Added Multi Flow Support with enabledroutes
0.0.4 #
- Added Support for Re-initialisation of embed agent
0.0.3 #
- Added Support for Buttons
- Added Route based activation
- Added embedEvent call for user generated USER_DATA nd SCREEN_STATE events
- Added Embed Config Service for management of apiKey and embedUrl
- Improved widget context extraction
- Updated Documentation
0.0.2 #
- Removed the requirement for bluetooth permissions
- Updated License
0.0.1 #
- Initial release of Embedded Agent SDK
- Core functionality for automatic widget tree traversal
- Real-time widget monitoring with collapsible interface
- Comprehensive widget property extraction
- Cross-platform support for Android and iOS
- Example applications demonstrating SDK usage
- JSON output format for widget information
- Performance-optimized widget tree analysis