on-internet
← Community

Unable to Connect React Native Client to Soketi Using @pusher/pusher-websocket-react-native

Stack Overflow ·

I’m using Soketi with a Django backend for real-time updates. My web client (React/Next.js) works great with pusher-js. But I could not configure it with React Native using @pusher/pusher-websocket-react-native, pusher-js React Native SDK. Unlike pusher-js, the React Native SDK expects an API key, not an app key. It also doesn’t support wsHost or wsPort config directly. No way to forceTLS: true and enableStats: false (requires for web requirements). I expected it to connect just like the web client, but it doesn’t even reach the auth phase. Any other alternative for React Native client for Sok

Comments

Sign in or sign up to comment and upvote.

No comments yet.