ichatmode_flutter_sdk 1.0.7
ichatmode_flutter_sdk: ^1.0.7 copied to clipboard
Official Flutter SDK for iChatMode ticket system. Logic-only SDK - no UI components. Build your own UI with your app's theme!
Changelog #
All notable changes to the iChatMode Flutter SDK will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.7 - 2026-01-27 #
1.0.4 - 2025-01-06 #
Added #
- Ticket status enum with UI mapping helpers (
TicketStatusenum) statusLabelgetter for human-readable status display (Open, Pending, Resolved, etc.)priorityLabelgetter for human-readable priority display (Critical, High, Medium, Low)reopenTicket()method for reopening resolved/closed tickets with reason trackingvalidateAttachmentPaths()utility for pre-upload file validation- Attachment validation checks for file size, type, and existence
Improved #
- Enhanced error messages for better developer experience
- Better documentation with comprehensive README
- Improved code organization and structure
Fixed #
- Message delete handling and duplicate bubbles in real-time updates
- Robust message ID parsing for WebSocket payloads
- Debug logging improvements for message events
1.0.3 - 2025-01-05 #
Fixed #
- Message delete handling and duplicate bubbles in real-time updates
- Add robust message ID parsing for WebSocket payloads
- Improve debug logging for message events
1.0.2 - 2025-01-05 #
Added #
uniqueIdalias for config (maps touserId)- Better parameter naming for clarity
1.0.1 - 2025-01-05 #
Fixed #
- Publishing fixes for README/CHANGELOG/LICENSE packaging
- Documentation improvements
1.0.0 - 2025-01-04 #
Added #
- Initial public release of the iChatMode Flutter SDK
- Complete ticket management (CRUD operations)
- Real-time messaging via WebSocket
- File attachment support (images, documents)
- Offline-first architecture with local caching
- Push notifications (Firebase Cloud Messaging)
- Typing indicators
- Auto-reconnect with exponential backoff
- Custom exception hierarchy
- Multi-platform support (iOS, Android, Web, Desktop)
Core Features #
iChatModesingleton entry pointTicketManagerfor ticket operationsNotificationServicefor push notificationsApiServicefor REST API communicationWebSocketServicefor real-time updatesStorageServicefor local caching- Complete data models (Ticket, Message, Attachment, User)
Developer Experience #
- Comprehensive error handling
- Debug logging support
- Type-safe with null-safety
- Clean architecture
- Well-documented code
Upgrade Guide #
Upgrading to 1.0.7 #
No breaking changes. Simply update your pubspec.yaml:
dependencies:
ichatmode_flutter_sdk: ^1.0.7
Then run:
flutter pub upgrade
Upgrading to 1.0.4 #
No breaking changes. Simply update your pubspec.yaml:
dependencies:
ichatmode_flutter_sdk: ^1.0.4
Then run:
flutter pub upgrade
New Features:
- Use
ticket.statusLabelfor human-readable status - Use
ticket.priorityLabelfor human-readable priority - Use
reopenTicket()to reopen resolved tickets - Use
validateAttachmentPaths()before file upload
Example:
// Before (still works)
print(ticket.status); // "open"
// After (recommended)
print(ticket.statusLabel); // "Open"