The snippet below connects to channels and subscribes to a channel :-
Console
// For react-native
npm install pusher-js @react-native-community/netinfo
// For react
npm install pusher-js
- Example 1 → Receive order updates using the order ID
- Example 2 → Receive order updates using your API KEY and partnerOrderId
- Example 3 → Receive all the orders updates using your API KEY & Secret(Private 🔒WebSocket channel)