beon_widget_sdk 1.0.7 copy "beon_widget_sdk: ^1.0.7" to clipboard
beon_widget_sdk: ^1.0.7 copied to clipboard

A fully-featured, customizable chat widget SDK for Flutter with real-time messaging support.

Changelog #

1.0.7 - 2026-01-19 #

Changed #

  • Replaced "save to gallery" with Share Sheet for images and documents
  • Button icon changed from download to share icon

Removed #

  • Removed image_gallery_saver_plus dependency to eliminate READ_MEDIA_* permissions
  • This resolves Google Play policy compliance for apps with infrequent photo use

1.0.6 - 2026-01-13 #

Added #

  • In-app document viewer - clicking documents now opens DocumentViewerScreen instead of external app
  • Image attachment support - users can now send images in addition to documents
  • Bottom sheet attachment picker with Image/Document options
  • Full screen image viewer - tap on images to view in full screen
  • Image gallery saver permission for iOS (NSPhotoLibraryAddUsageDescription)

Changed #

  • Attachment callback now includes message type (image or document)
  • File picker filters by type (images or all files based on selection)

Fixed #

  • iOS crash when downloading/saving images to photo library

1.0.5+1 - 2025-12-28 #

Added #

  • Show error screen when channel validation fails (invalid API key or channel not found)

1.0.4 - 2025-12-28 #

Fixed #

  • Remove incorrect @override annotations from ReactModel and LibraryModel
  • Remove unused url_launcher import
  • Remove unnecessary library name declaration

1.0.3 - 2025-12-28 #

Added #

  • API error logging interceptor for debugging failed requests

Fixed #

  • Fix dart analyze warning for Message class immutability (make fields final)
  • Replace deprecated withOpacity() with withValues() method

1.0.2 - 2025-12-22 #

Changed #

  • Updated repository URL to new location

1.0.1 - 2025-12-22 #

Fixed #

  • Disabled console logging in production build
  • Removed debug output from API calls and WebSocket events

1.0.0 - 2025-12-16 #

Added #

  • Initial release of Beon Widget SDK
  • BeonChatWidget - Main embeddable chat widget
  • Pre-chat form - Collect visitor name, phone, and initial message
  • Real-time messaging via Laravel Reverb WebSocket
  • Polling fallback when WebSocket is unavailable
  • Visitor persistence with device/browser fingerprinting
  • File attachments support
  • Emoji picker integration
  • Sound notifications for new messages
  • Customizable theming (colors, position, header text)
  • RTL/LTR support for multi-language applications
  • Message caching for offline support
  • Pagination for loading message history

Configuration #

  • Script tag parsing for web embedding
  • Programmatic configuration via BeonConfig
  • Position options: bottomRight, bottomLeft, topRight, topLeft
  • Customizable header title and subtitle
  • Welcome message support

State Management #

  • Built with Flutter Riverpod
  • Separate widget state (open/closed, view mode)
  • Chat state (messages, loading, sending)
  • Connection state monitoring

API Integration #

  • Dio-based HTTP client with interceptors
  • Authentication header management
  • Retry logic for failed requests
  • Message history fetching with pagination
  • Message sending with metadata