pusher / pusher-websocket-react-native

React Native official Pusher SDK
MIT License
62 stars 55 forks source link

Trigger event without authorization #71

Closed gustavosantaella closed 1 year ago

gustavosantaella commented 1 year ago

I'm doing a application without backend. I want to send messages in real-time with pusher but i have the following error: Trigger event is only for private/presence channels Is it possible to do tirgger event without authorization?

fbenevides commented 1 year ago

Hello @gustavosantaella,

No, it's not. Currently, Client Events require authorization, so they're just available on either private or presence channels.

You can find more information about Client Events in the Pusher Docs