Closed AntonioA-D-C closed 1 year ago
It appears you are using laravel-websockets, a Pusher replacement service. We aren't able to support custom/third party websocket servers and services. If you have a problem when using our official Pusher Channels service please let us know and we can investigate.
When I press the button, it successfully subscribes to the "drivers" channel and fetches the data on the queue, however, when sending dispatching the laravel event in PostMan, it doesn't send anything to the "onEvent" function, almost like it didn't exist, please help.
I've tried using both ShouldBroadcast and ShouldBroadcastNow in Laravel, neither of them display data in React Native
The only difference is the former saves data in the queue which is not visible except when first subscribing to the "drivers" channel in pusher-websocket-react-native, and the latter is visible everywhere in the localhost:8000/laravel-websockets server as well as console.log when subscribing to the channel.
I've tried to read the documentation, but nothing shows up that would help me with onEvent not logging the data being updated after the dispatch.