π Reproduction steps
- Create a Realtime
- Call subscribe on it
- Background the app, but have it stay in memory (e.g. go home for 10s), or turn on airplane mode, or in some other way lose internet.
π Expected behavior
It should either:
- Automatically attempt to reconnect the socket
- Or at least provide a way for the client to get notified of failures.
π Actual Behavior
AppwriteWebSocketListener.onFailure is called after 5 seconds. The stack trace is printed, but the client app does not get notified.
Because onClosing isn't called, we don't automatically go through the reconnect attempt.
π² Appwrite version
Version 1.8.x
π» Operating system
Linux
π§± Your Environment
I'm using Kotlin io.appwrite:sdk-for-android:11.4.0
π Have you spent some time to check if this issue has been raised before?
π’ Have you read the Code of Conduct?
π Reproduction steps
π Expected behavior
It should either:
π Actual Behavior
AppwriteWebSocketListener.onFailure is called after 5 seconds. The stack trace is printed, but the client app does not get notified.
Because onClosing isn't called, we don't automatically go through the reconnect attempt.
π² Appwrite version
Version 1.8.x
π» Operating system
Linux
π§± Your Environment
I'm using Kotlin io.appwrite:sdk-for-android:11.4.0
π Have you spent some time to check if this issue has been raised before?
π’ Have you read the Code of Conduct?