inverge_websocket 1.2.0
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.
- Android:
configure(persist: true)stores credentials in native storage (AndroidSharedPreferences("native_env"), iOSUserDefaults) 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 tohttps://(andws://→http://, missing scheme →https://) so Socket.IO's polling handshake works. A rawwss://baseUrl previously prevented connecting.
1.0.1 #
- Upgrade
socket_io_clientto ^3.1.6 (latest) — keeps dependencies current. - Update project links (homepage → service page).
1.0.0 #
- Initial release.
InvergeWebSocketclient: connect/disconnect, room join/leave (single + bulk) with ack futures, eventon/once/off,emitandemitWithAck.- Automatic re-join of tracked rooms after a reconnect.
- Connection status stream (
ConnectionStatus). WebSocketInitializerwidget +WebSocketScopeprovider andcontext.socket.- App-wide singleton access via
InvergeWebSocket.instancefor blocs/services. Roomhelper for recipient-scoped room names.