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

The browser chat and app chat window does not auto refresh and push notification is not working #15

Open
nibircse opened this issue Jul 20, 2015 · 4 comments

Comments

@nibircse
Copy link

i have installed the server and have been able to connect the app with the server. the system works except

the old issue of push notification and auto refresh.

there is not any instruction in this project so i followed the old spika instructions and it seems not working.

any help will be very appreciated.
@jaullo @bafplus

@nibircse nibircse changed the title The browser chat and app chat window does not auo refresh and notification is not working The browser chat and app chat window does not auto refresh and push notification is not working Jul 20, 2015
@nibircse
Copy link
Author

i also edited the asynctaskcontroller that you said to change.

@jaullo
Copy link
Owner

jaullo commented Jul 27, 2015

Hello @Yeasin-Ar-Rahman, in your server code u need to change the localhost validation and set your internal/public IP address or domain name.

Best regards

@nibircse
Copy link
Author

i suppose you are referring to line number 42 and 112 in AsyncTaskController.php that is

if($host != "localhost"){
return $self->returnErrorResponse("invalid access to internal API");
}

to

if($host != "server-ip"){
return $self->returnErrorResponse("invalid access to internal API");
}

Thank you very much for your response.

@jaullo
Copy link
Owner

jaullo commented Aug 10, 2015

Yes that lined. Also live asynctaskcontroller without changes (don't make the changes i sayed) just change the ip addres

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

2 participants