JavaPhoenixChannels icon indicating copy to clipboard operation
JavaPhoenixChannels copied to clipboard

Support for Phoenix Presence

Open bryanjos opened this issue 9 years ago • 5 comments

It looks like there are some updates here needed to support presence. In particular in the JavaScript client, they have a Presence module with a couple of functions on it. The links below may help:

https://github.com/phoenixframework/phoenix/blob/f2e02d97ef79f825f6bbbdc2d7b69a1d005bff90/web/test/presence_test.js

https://github.com/phoenixframework/phoenix/blob/0cefe23a95628cd8ccb73db4e59644b699a544da/web/static/js/phoenix.js#L796

I think the change here would be to include a Presence class. I will also check to see if there are any further changes needed for the socket

bryanjos avatar Nov 04 '16 22:11 bryanjos

It's added here but not much tested. Welcome any comment! https://github.com/lucasleongit/JavaPhoenixChannels/tree/presence

lucasleongit avatar Aug 01 '17 19:08 lucasleongit

Can you give any examples of Presence usage for those who are not experienced Java developers?

natewallis avatar Dec 07 '17 01:12 natewallis

I wish that had been merged 😞

gmartinsvrf avatar Jun 12 '19 21:06 gmartinsvrf

still, don't have the Presence function.

Ekct00 avatar Dec 05 '19 08:12 Ekct00

You can try out JavaPhoenixClient which has presence support.

Disclaimer: I am the author of that library and actively maintain it. We use it in production however not the Presence feature. I know it's been used by others but not personally in our production products.

dsrees avatar Dec 05 '19 17:12 dsrees