livecaller_flutter_sdk 1.1.5
livecaller_flutter_sdk: ^1.1.5 copied to clipboard
Livecaller flutter sdk
Changelog #
1.1.5 #
- Added reply-to-message support: visitors can quote an existing message and the reply context is sent with the outgoing message.
- Added relative time formatting via
timeagowith locale support anddate_formatsconfiguration from widget settings. - Added a public event API (
LivecallerEvents) so host apps can subscribe toconversationMessageReceived,conversationWasStarted, andconversationWasClosed. - Added a persistent background listener (
LivecallerApp.startBackgroundEvents/stopBackgroundEvents) that keeps emitting events on host screens after the chat UI is dismissed; restarts cleanly when credentials change. - Background listener now persists the active conversation + token under a dedicated session key, so events resume after the app is killed and relaunched without ever opening the chat widget. The session is cleared on conversation close and on logout.
- Background listener handles
/broadcasting/auth403s by dropping the stale conversation from the session and emitting a newLivecallerEventType.conversationAuthFailedevent so the host can react (e.g. prompt re-login).
1.1.4 #
- Bug fixes and improvements
1.1.3 #
- Bug fixes and improvements
1.1.2 #
- Bug fixes and improvements
1.1.1 #
- Support for dynamic theme colors configurable from SDK settings.
1.0.1 #
- Upgraded
web_socket_channelto ^3.0.0 for compatibility with latest dependencies.
1.0.0 #
- Added automatic socket reconnection when internet connection is lost
- Added dynamic device/platform detection (Web, Android, iOS)
- Improved connection stability and lifecycle handling
- SDK API considered stable for production use
0.0.8 #
- Removed test API URLs and updated to production endpoints.
0.0.7 #
- Fixed screen loading issue on start and login screens
0.0.6 #
- Added support for managing user sessions and localization:
LivecallerApp.updateLocale(context, locale)→ Change language dynamicallyLivecallerApp.userLogin(context, token)→ Log in with JWT tokenLivecallerApp.userUpdate(context, newToken)→ Update user tokenLivecallerApp.userLogout(context)→ Log out and clear session
0.0.5 #
-
Resolved multiple bugs related to session restoration and auto chat start when input fields are empty.
-
Improved logic for navigating directly to the chat screen when a session exists.
0.0.4 #
- update go_router to 16.1.0 version
0.0.3 #
- Fixed api url
0.0.2 #
- Fixed library export in
lib/livecaller_flutter_sdk.dart - Added proper library declaration