wisperbot_chat 0.1.3
wisperbot_chat: ^0.1.3 copied to clipboard
A customizable Flutter SDK for adding WisperBot customer chat to mobile, web, and desktop apps.
Changelog #
0.1.3 #
Added #
- Added
WisperBotConfig.lightStatusBarIconsto use white status-bar content over dark or strongly colored headers in full-screen chat. - Added lightweight widget-configuration preloading so launchers can resolve dashboard colors and placement without opening chat or requesting notification permission.
- Added custom attachment, microphone, send, document, camera, gallery, audio, close, and delete icon assets.
Changed #
- Redesigned the message composer into a compact, single-row layout inspired by modern messaging apps.
- The text field now starts at one line, expands horizontally on focus, and grows vertically only for multiline messages.
- Attachment, microphone, and send controls now share the compact field height and remain bottom-aligned while the field expands.
- Updated the attachment picker to use the new document, camera, gallery, and audio assets.
- Updated chat-header and pending-attachment close actions to use the new close asset, and recording cancellation to use the new delete asset.
- Updated README configuration and launcher behavior documentation.
Fixed #
- Fixed
WisperBotChatLauncherbriefly showing the fallback brand color before applying the API-provided color. - Fixed API colors not appearing on notification-gated launchers until chat had been opened once.
- Fixed the enabled send icon retaining its dark disabled color instead of using the contrasting
onPrimarycolor. - Preserved a 48 dp accessible send target while keeping the visible button aligned with the 42 px compact composer.
0.1.2 #
Added #
- OneSignal Push Notifications: Added
oneSignalAppIdconfiguration inWisperBotConfigand push notification handling with automatic chat navigation on notification tap (WisperBotChat.handleNotificationClick,WisperBotChat.openChatFromNotification). - Document & File Attachments: Added cross-platform document picking support (
file_selector) alongside camera and gallery image attachments. - Attachment Picker Sheet: Introduced interactive attachment bottom sheet for selecting photos, camera captures, or documents.
- Rich Document & File Preview: Enhanced message bubbles to render document icons, file sizes, file extensions, and tap-to-open handlers.
Changed #
- Enhanced pre-chat form validation with robust field requirements checking.
- Refined message composer bottom padding and attachment action layout.
- Updated example application to demonstrate document attachments and OneSignal configuration.
- Updated documentation and presentation screenshots.
0.1.1 #
Documentation & Assets #
- Reorganized README with a developer-first flow, quick start, and platform setup instructions.
- Added a full
WisperBotConfigproperty reference table and example snippets. - Added visual UI showcase screenshots for all presentation styles (full screen, bottom sheet, dialog, floating launcher, embedded view).
0.1.0 #
Added #
- Reusable Flutter package structure with a cross-platform example app.
- Anonymous and verified-user chat sessions with secure, identity-scoped storage.
- Public widget API client with injectable HTTP transport and session storage.
- Typed chat state, events, errors, and redacted diagnostics.
- Lifecycle-aware foreground polling with message ordering, deduplication, and send/server-echo reconciliation.
- Text, image, and audio message transport using the current visitor API.
- Human handoff, typing updates, and required pre-chat support.
- Prebuilt full-screen, launcher, embedded, bottom-sheet, dialog, and headless integration surfaces.
- Material UI defaults with server/host theme resolution, loading, empty, error, reconnecting, offline, and accessibility states.
WisperBotConfig.useApiColorsfor switching between API-provided colors and the built-in WisperBot brand palette.- Format-aware remote image rendering for SVG and Flutter-supported raster assets.
- Public API documentation and contributor guidance.
Changed #
- Aligned visitor requests with the Laravel widget API and removed unsupported realtime, identity-outcome, and unread state contracts.
- Reorganized internals into configuration, domain, application, data, and presentation boundaries without changing the public API.
- Clarified networking through named API endpoints, a central HTTP caller, and an operation-oriented widget remote data source.
- Updated the default Flutter chat UI to better match the WisperBot web widget.
- Increased bottom-sheet presentation height to 96% of the available safe height.
- Moved example widget key and API base URL configuration into a local
.envfile. - Kept built-in copy in English while leaving localization delegates and label overrides as a pre-stable API task.
- Updated package/example dependency versions and Android example compile SDK, and removed generated iOS Flutter build files from version control.
Fixed #
- Corrected image/audio delivery to use the backend multipart upload format.
- Fixed duplicate outgoing bubbles by reconciling poll echoes with in-flight send responses.
- Removed routine
SendingandSentbubble labels while retaining internal delivery tracking and visible failed/unconfirmed states. - Validated image/audio extension and MIME pairs, caption limits, byte limits, and native multipart edge
406failures. - Ensured required pre-chat submission is token-bound and does not persist submitted PII.
- Routed backend AI auto-replies through the queue so visitor sends can be acknowledged immediately.
Documented #
- Current backend contract and native domain-policy limitation.