Skip to content

Crisp Chat - v2.5.0

Choose a tag to compare

@alamin-karno alamin-karno released this 31 May 19:25
· 49 commits to dev since this release

A Flutter plugin for Crisp live chat on Android, iOS, Web, and desktop (macOS, Windows, Linux).

For more info visit this site: Flutter Crisp Chat

Added

  • Web support via the official Crisp Web Chat SDK ($crisp / client.crisp.chat).
  • Desktop support for macOS, Windows, and Linux using desktop_webview_window, with browser fallback when WebView is unavailable.
  • FlutterCrispChat.markMessagesAsRead() — REST PATCH to clear unread.visitor (workaround when the iOS native SDK does not sync read receipts; also usable on Android, Web, and desktop with REST credentials).
  • FlutterCrispChat.isVideoCallsSupported() — returns whether the current build supports Crisp calls (iOS WebRTC variant, or Web/desktop).
  • Optional iOS video/audio calls (build-time opt-in, not a runtime CrispConfig flag):
    • CocoaPods: $CrispChatWebRTC = true in ios/Podfile → links Crisp/CrispWebRTC instead of Crisp/Crisp (~10 MB larger).
    • SPM: CRISP_CHAT_WEBRTC=true before flutter build ios (or Xcode scheme env var); Package.swift selects CrispWebRTC automatically.
    • Android native video is not supported yet (upstream #181); Web/desktop use the web chatbox when enabled in the Crisp dashboard.
  • Documentation: Supported platforms guide and platform API matrix; Crisp dashboard domain lock guidance (#148); iOS unread-count limitation and verification (docs/unread-count-verification.md).

Changed

  • Minimum Dart SDK 3.5.0 and Flutter 3.24.0 (required by desktop WebView dependency).
  • openChatboxFromNotification and setOnNotificationTappedCallback are no-ops on Web/desktop.
  • Example app extended with linux, macos, and windows runners for multi-platform testing.
  • GitHub Actions CI workflow (analyze + test on Ubuntu).

Breaking

  • Apps on Flutter < 3.24 or Dart < 3.5 must stay on 2.4.8 for mobile-only usage.
  • New dependencies: desktop_webview_window, http, url_launcher, web.

What's Changed

Full Changelog: v2.4.8...v2.5.0