heroiclabs / nakama-dart

Pure Dart Client for Nakama Server
https://heroiclabs.com/docs/nakama/client-libraries/dart
166 stars 51 forks source link

rpc on websocket don't work #74

Open Zhairgling opened 1 year ago

Zhairgling commented 1 year ago

Describe the bug when I make a rpc call using websocket, I can see in the server log that I have the request and the nswer is sent but the flutter app never receive it.

Reproduction Code Note: This is mandatory! If your issue does not contain it, it will be closed.

Example:


    final result1 = await socketClient.rpc(id: 'hello_world_rpc');

    print(result1.payload); // Devrait afficher "Hello, World!"

const helloWorldRpc: nkruntime.RpcFunction = function (ctx: nkruntime.Context, logger: nkruntime.Logger, nk: nkruntime.Nakama, payload: string): string {
  return "Hello, World!";
}

Expected behavior see "hello world " in the flutter debugconsole

obrunsmann commented 1 year ago

Thank you @Zhairgling for reporting. I am just back from vacation and checking in your issue shortly.

CodingTrip93 commented 8 months ago

Any update on this issue!?

eunjijeon11 commented 7 months ago

Is there any update?

ilmalte commented 7 months ago

Bump