Skip to main content

inverge_websocket 1.2.0 copy "inverge_websocket: ^1.2.0" to clipboard
inverge_websocket: ^1.2.0 copied to clipboard

Flutter SDK for the Inverge WebSocket service: room-based realtime over Socket.IO with an app-wide provider, context.socket, and auto room re-join.

1.2.0 #

  • Add support for macOS, Windows, Linux, Web platforms
  • Restructured the iOS plugin into an SPM package while keeping CocoaPods working off the same files.
  • Add a special log for join/leave room events' acknowledge.

1.1.0 #

  • Native room-emit APIs (Android + iOS) over the API-key HTTP surface, for backend-style emits from native code / background services without a live socket:
    • Android: net.inverge.websocket.InvergeWebSocket (Kotlin, HttpURLConnection).
    • iOS: InvergeWebSocket (Swift, URLSession).
    • Dart bridge: WebSocketNative.configure/emit/broadcast.
  • configure(persist: true) stores credentials in native storage (Android SharedPreferences("native_env"), iOS UserDefaults) so a foreground/background service can restore them.
  • The package is now a Flutter plugin (Android/iOS). The Dart socket client is unchanged.
  • Sent platform os information to identify the sessions by platform.
  • Fix: normalize the socket base URL scheme. wss:// is converted to https:// (and ws://→http://, missing scheme →https://) so Socket.IO's polling handshake works. A raw wss:// baseUrl previously prevented connecting.

1.0.1 #

  • Upgrade socket_io_client to ^3.1.6 (latest) — keeps dependencies current.
  • Update project links (homepage → service page).

1.0.0 #

  • Initial release.
  • InvergeWebSocket client: connect/disconnect, room join/leave (single + bulk) with ack futures, event on/once/off, emit and emitWithAck.
  • Automatic re-join of tracked rooms after a reconnect.
  • Connection status stream (ConnectionStatus).
  • WebSocketInitializer widget + WebSocketScope provider and context.socket.
  • App-wide singleton access via InvergeWebSocket.instance for blocs/services.
  • Room helper for recipient-scoped room names.
0
likes
160
points
100
downloads

Documentation

API reference

Publisher

verified publisherinverge.net

Weekly Downloads

Flutter SDK for the Inverge WebSocket service: room-based realtime over Socket.IO with an app-wide provider, context.socket, and auto room re-join.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, http, plugin_platform_interface, socket_io_client

More

Packages that depend on inverge_websocket

Packages that implement inverge_websocket