Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

PUBNUB operations throws PNTimeoutCategory often

$
0
0

I am using pubnub server in my chat app. It works fine but often I am getting PNTimeoutCategory error while doing pubnub operations like subscribe, unsubscribe, publish etc. How to handle this?

 pubnub = new PubNub({     authKey: auth_key,     publishKey: publish_key,     subscribeKey: subscribe_key,     ssl: true,     uuid: provider_id,     logVerbosity: __DEV__, });

and I subscribe channels like below:

pubnub.unsubscribe({    channels});

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>