Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with pusher #15

Closed
mdhafizur opened this issue Dec 6, 2019 · 4 comments
Closed

Issue with pusher #15

mdhafizur opened this issue Dec 6, 2019 · 4 comments

Comments

@mdhafizur
Copy link

Hi Musonza,

Tried to implement pusher with the project.
Though pusher detects message passing. but it's not real-time in the app.
Any idea how to fix it?

@musonza
Copy link
Owner

musonza commented Dec 15, 2019

You have to uncomment this line

Comment this out

location.reload(); // comment this out if you are broadcasting

I will add instructions to README when i get a chance

@musonza musonza closed this as completed Dec 27, 2019
@horaceho
Copy link

I follow the above instruction horaceho@0e99f41 and re-run the demo.

Pusher is connected:

Screen 2020-02-14 at 10 52 18

However, new message only shows up after manual refresh page (pressing Cmd-R, 1 & 2 are shown), the new message (e.g. enter 3 and click Send) does not show up in own window:

Screen 2020-02-14 at 10 54 01

or remote window:

Screen 2020-02-14 at 10 54 03

Any suggestion?

@musonza
Copy link
Owner

musonza commented Feb 14, 2020

I need to update readme
You need to comment this out

location.reload(); // comment this out if you are broadcasting

Remove this comment

@horaceho
Copy link

I need to update readme
You need to comment this out

location.reload(); // comment this out if you are broadcasting

Remove this comment

I've done that, please see my fork: horaceho@0e99f41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants