I didn't wanted to make a http request when client wants to trigger a message. But in this case, i will do that for sake of a solution, but i want to trigger client events. I also checked native java code, but i am not a java programmer, so i did not understand what was wrong in there.
Hello,
I'm using Pusher with Laravel, for my React Native application. I set up authorization route in my laravel like so:
In React Native,
Now, user is subscribed to the channel. But, the issue happends when i try to trigger an event in client:
I have checked validatedUser?.uid, inputMessage. Theres nothing wrong here, also, i tried giving them only strings but this is the result:
I am using these packages:
"expo": "~50.0.7" "react-native": "0.73.4" "@pusher/pusher-websocket-react-native": "^1.3.1"
I didn't wanted to make a http request when client wants to trigger a message. But in this case, i will do that for sake of a solution, but i want to trigger client events. I also checked native java code, but i am not a java programmer, so i did not understand what was wrong in there.