All Questions
14
questions
1
vote
1
answer
92
views
Flutter: Received error message "Pong reply not received in time" when using WebSockets
I'm developing a Flutter application that connects to a Laravel REVERB backend using WebSockets. I'm using the IOWebSocketChannel.connect method to establish the connection and the sink.add method to ...
0
votes
0
answers
66
views
Implement Laravel Self-hosted Websocket and Flutter
I am trying to make connections to Laravel self-hosted Websocket (using Laravel echo settings), and Flutter app (also using web_socket_channel). So I have a main class BaseWebSocketService:
class ...
0
votes
0
answers
160
views
Laravel WebSocket with Flutter
I'm trying to use laravel websocket in my flutter app
This is my laravel event code and I am broadcasting the event right here by passing the comment in the constructor
<?php
namespace App\Events;
...
0
votes
1
answer
44
views
Socket error: WebSocketException: Connection to 'http://192.168.42.48:8000/api/users/?EIO=4&transport=websocket#' was not upgraded to websocket
I have applied my local web socket Api in flutter app it throws exception, tried a lot but can't find any solution,
Api is in Laravel, on Laravel side I also use Socket.io package and Laravel-echo , ...
0
votes
0
answers
72
views
WebSocketException: Connection to 'http://192.168.100.10:6001/socket.io/?EIO=4&transport=websocket#' was not upgraded to websocket in Flutter
I'm trying to establish a WebSocket connection between my Flutter app and a WebSocket server running at http://192.168.100.10:6001. However, when I run the app, I get the following error in the ...
0
votes
0
answers
761
views
flutter laravel websockets Private Channel trigger current location
i have laravel and set up the websockets and all is good
and in my flutter app i connect to websockets private channel and its good
but here is the bug is that i listen to the server events
but i need ...
2
votes
1
answer
2k
views
Mention headers in Flutter Websockets
I use Laravel for my Backend WebSocket Handling. I need to Mention Channel Name and Event to listen to any changes but IOWebSocket Library doesn't allow for anything. How do i mention those or is ...
2
votes
0
answers
555
views
How to mention the Channel and Event name in flutter websockets
Code
import 'package:flutter/foundation.dart';
import 'package:web_socket_channel/io.dart';
import 'package:flutter/material.dart';
import 'package:web_socket_channel/web_socket_channel.dart';
void ...
0
votes
1
answer
2k
views
Websockets in Flutter
I'm trying to listen to my Laravel BackEnnd using flutter websockets. There is no documentation about the backend of such a situation and i'm not sure how to go about it. The laravel app seems to work ...
4
votes
0
answers
225
views
Flutter Web Sockets Not Connecting to Laravel
Using this package https://pub.dev/packages/laravel_echo
Current Code
import 'package:example/modal.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import '...
1
vote
2
answers
2k
views
Flutter - Pusher & EchoClient - Connecting but not receiving events from channel
I'm trying to connect my flutter application to a laravel websocket using Pusher as a broadcaster.
I was able to connect my Flutter application to the laravel websocket using the following Flutter ...
0
votes
1
answer
341
views
FlutterPusher not connecting to host in release version
I am developing a flutter app which use flutter_pusher_client with laravel_echo. The websocket server is developed using Laravel WebSockets . Also added internet permission to AndroidManifest.xml and ...
5
votes
2
answers
1k
views
WebSocketChannelException: HandshakeException - Flutter app with Laravel Websockets on custom server Cerificated with Cpanel
I have Laravel web application includes live chat relying on Laravel Websockets https://docs.beyondco.de/laravel-websockets/
For now i am making Flutter app for same service and i am facing problem ...
1
vote
1
answer
6k
views
Laravel websocket - develop mobile chat app using laravel as backend
I successfully setup laravel websocket chat with all the configuration. However, I want to connect it with flutter app or mobile app and not sure how to go about it.
The only way I can think of is ...