graphql-flutter
graphql-flutter copied to clipboard
After connectOrReconnect the Initialising connection starts but subscription is not listening to new subscription result.
Understand the scenario:
Chat screen: Going back by calling GraphQLConfiguration.webSocketLink.connectOrReconnect();
Going back to home screen:
Disposing socket client..
Initialising connection
But the problem is after initialising connection it is not listening to new results nor new results are coming up.
I am using
graphql_flutter: ^5.1.1
@HofmannZ
@vincenzopalazzo Can you let me know what info you needed?
I am also experiencing this, my subscriptions stop working after the link is reconnected, the only way I managed to work around this was by retrying the subscription with an exponential back-off timeout until some data is received.