v1.4.0
·
180 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Fixes
- Fix heartbeat timeout reconnection and leaked timer executions —
ResetHeartbeat()and the heartbeat response handler now properly store theIDelayedExecutionreference so it can be cancelled on reconnection.HeartbeatTimeout()rewritten to match PhoenixJS: triggers channel errors, then tears down with an explicit reconnect callback. (#35) - Fix NativeWebSocket adapter missing message dispatch — NativeWebSocket queues received messages on all platforms, not just WebGL. The sample adapter now includes a
Tick()method that must be called fromUpdate()to deliver messages. Without this, channel replies never arrive and channels enter an infinite rejoin loop. Verified on real Android hardware (Pixel 8a, IL2CPP) via Firebase Test Lab.
Features
- NativeWebSocket sample adapter — New sample WebSocket implementation using NativeWebSocket, the recommended open-source WebSocket library for Unity (supports WebGL, Android, iOS, UWP).
- Parameterized integration tests — All integration tests now run against both DotNet and NativeWebSocket transports via NUnit
TestCaseSource, catching transport-specific issues.
Other
- Recommend NativeWebSocket over WebSocketSharp in README
- Exclude integration tests from CI (depend on external server)