ebchat 5.1.0
ebchat: ^5.1.0 copied to clipboard
Embeddable ebchat chat SDK for Flutter apps. Drop-in chat screen and widgets on the first-party livechat protocol, with host-owned push ("notification outsourcing"), botflow forms and multi-company support.
Changelog #
5.1.0 #
-
The SDK is two packages, not four.
ebchat_uiis folded into this package andebchat_realtimeintoebchat_core; neither was ever consumed on its own outside this repo, and four pub.dev names meant four versions to keep in lockstep.package:ebchat/ebchat.dartexports everything the widgets did, so nothing changes for a host. -
The declared Flutter floor is now
>=3.35.0, which is what the widgets actually required all along (Image.network'swebHtmlElementStrategy); the previous>=3.24.0was resolvable but wrong. -
Botflow form questions now work on mobile.
EbChatScreenanswers them itself: text questions focus the composer, and photo/file/location questions upload and send through the newonPickFile/onResolveLocationhooks. PreviouslyonFormwas unwired on mobile, so tapping a form question did nothing at all. -
New
EbChatFormKind/EbChatFormRequest/EbChatPickedFile, andEbChat.uploadAssetfor hosts sending attachments themselves. -
Both hooks are optional: media questions fall back to
onAttach, location to typing an address. Unknown question types classify as text rather than dead-ending, so a new botflow QuestionType stays answerable. -
onFormstill overrides everything, for hosts that want full control.
5.0.0 #
- Clean rewrite on the first-party livechat protocol. No API compatibility with the deprecated GetStream-based 3.x/4.x.
EbChat.init(bootstrap + guest/identified session, resume viaSessionStore),EbChatScreen(drop-in chat with auto-reopen on close),EbChatUser(guest / identified + HMAC),EbChatPush.parse(host-owned FCM data payload).- Realtime via
ebchat_realtimewhen the gateway advertises it; polling fallback otherwise.