laravel-websockets icon indicating copy to clipboard operation
laravel-websockets copied to clipboard

How can i connect Laravel Websocket to Android

Open GOPIPACHA opened this issue 6 years ago • 2 comments

Hi Team, I have successfully configured laravel websocket on my server machine.But when i try to connect to Android apllication with with my pusher credentials I am not able to connect. Below is Android code and env config ``` HttpAuthorizer authorizer = new HttpAuthorizer("URL"); PusherOptions options = new PusherOptions().setCluster("ap2"); PusherOptions options = new PusherOptions().setAuthorizer(authorizer); Pusher pusher = new Pusher("a5dcde54b3f8c6c06355", options);

.env config;-

PUSHER_APP_ID=myid PUSHER_APP_KEY=mykey PUSHER_APP_SECRET=mysecret PUSHER_APP_CLUSTER=mt1

can anyone help me out how can i connect laravel websocket to android 

GOPIPACHA avatar Jun 09 '20 05:06 GOPIPACHA

@ GOPIPACHA, did you find any solution? /Thanks!

sahandverbosity avatar Jan 26 '21 15:01 sahandverbosity

@GOPIPACHA Did you found any solution?

tomandpoolee avatar Aug 05 '21 12:08 tomandpoolee