zendesk_messaging 3.0.0
zendesk_messaging: ^3.0.0 copied to clipboard
Flutter plugin for Zendesk Messaging SDK. Provides in-app customer support messaging with multi-conversation support, real-time events, and JWT authentication.
3.0.0 #
Breaking Changes #
- iOS minimum version: 12.0 -> 14.0
- Dart SDK: ^3.0.0 -> ^3.6.0
- Flutter SDK: >=3.10.0 -> >=3.24.0
Native SDK Updates #
- Android SDK: 2.26.0 -> 2.36.1
- iOS SDK: 2.24.0 -> 2.36.0
- Kotlin: 1.9.24 -> 2.1.21
- Swift: 5.9
New Features #
-
Full Event System: 24 event types via sealed class pattern
UnreadMessageCountChanged- unread count changes with conversation detailsAuthenticationFailed- auth errors with JWT expiration detectionConnectionStatusChanged- network state monitoringConversationAdded,ConversationStarted,ConversationOpened- conversation lifecycleMessagesShown- messages rendered with message dataSendMessageFailed- message send failuresFieldValidationFailed- conversation field validation errorsMessagingOpened,MessagingClosed- UI lifecycleProactiveMessageDisplayed,ProactiveMessageClicked- proactive messagingConversationWithAgentRequested,ConversationWithAgentAssigned,ConversationServedByAgent- agent eventsNewConversationButtonClicked,PostbackButtonClicked- UI interactionsArticleClicked,ArticleBrowserClicked- article eventsConversationExtensionOpened,ConversationExtensionDisplayed- extension eventsNotificationDisplayed,NotificationOpened- push notification events (Android)
-
Multi-Conversation Navigation
showConversation(conversationId)- navigate to specific conversationshowConversationList()- display conversation liststartNewConversation()- start new conversation directlygetUnreadMessageCountForConversation(conversationId)- per-conversation count
-
User Management
getCurrentUser()- get current user with auth typeZendeskUsermodel with id, externalId, authenticationTypeZendeskAuthenticationTypeenum (anonymous, jwt)
-
Connection Status
getConnectionStatus()- get SDK connection stateZendeskConnectionStatusenum (connected, connecting, disconnected, unknown)
-
New Models
ZendeskUser- user informationZendeskMessage- message data with id, conversationId, authorId, content, timestampZendeskLoginResponse- login response dataZendeskEventsealed class hierarchy
Improvements #
- Modern Dart 3.x syntax with sealed classes and pattern matching
- Comprehensive API documentation
- Unit tests for method channels and event parsing
- Enhanced example app with all features demonstrated
- Backwards compatible
unreadMessagesCountStreamfor legacy code
Migration Guide #
See README.md for detailed migration instructions from 2.x.
2.9.3 #
- Update Dart SDK minimum version to 3.0.0 .
- Update Flutter SDK minimum version to 3.10.0 .
- Fix method channel calls never complete.
2.9.2 #
- Fix multi conversation navigation
2.9.1 #
- recover namespace setting for android
2.9.0 #
- fix issue for logoutUser in iOS
- upgrade ios version to 2.24.0
- downgrade android version to 2.13.0
2.8.0 #
- Upgrade zendesk-messaging sdk version to 2.16.0
- Minimum iOS version is now 12
- ADD conversation fields
2.7.7 #
- Add
invalidate()to invalidate the current instance of ZendeskMessaging
2.7.6 #
- Add conversation tag
2.7.5 #
- Upgrade Flutter sdk version
- Upgrade zendesk-messaging sdk version to 2.11.0
2.7.4 #
- Upgrade ZendeskSDKMessaging of iOS to v2.9.0 to be compatible with Xcode 14.3
2.7.3 #
- Fix parameter type issue of handler function
2.7.2 #
- Upgrade Dart sdk version
2.6.0+1 #
- Update versions of environment
2.6.0 #
- Upgrade to 2.6.0
0.0.3 #
- Upgrade to 2.5.0
0.0.2 #
- Authentication
- Global observer
0.0.1 #
- Initial release