A Pusher Channels client plugin for Flutter targeting Android, iOS, macOS, Windows and web. It wraps pusher-websocket-java 2.4.5, pusher-websocket-swift 10.1.x and, on the web, pusher-js 8.4.0. On Windows, where there is no official Pusher library, it uses a pure Dart implementation of the Pusher protocol.
For tutorials and more in-depth information about Pusher Channels, visit the official docs.
This client works with the official Pusher Channels service and with Pusher-protocol compatible self-hosted servers such as soketi, Laravel Reverb and laravel-websockets.
Upgrading from 2.x? Read MIGRATION.md.
| Platform | Minimum |
|---|---|
| Android | API 21 |
| iOS | 13.0 |
| macOS | 10.15 |
| Windows | Windows 10 or newer (Flutter's own minimum) |
| Web | any browser supported by pusher-js 8 |
Requires Dart ^3.6.0 and Flutter >=3.27.0. Linux is not supported.
Libraries used on each platform:
| Platform | Library |
|---|---|
| Android | pusher-websocket-java 2.4.5 |
| iOS, macOS | pusher-websocket-swift 10.1.x |
| Web | pusher-js 8.4.0 |
| Windows | Pure Dart implementation of the Pusher protocol; no native library or extra setup |