Category : pubnub

Getting the PNTimeoutCategory while trying to connect to PubNub Services. Following are the PNStatus category we receive. PNErrorData(information=null, throwable=com.pubnub.api.PubNubException), error=true, statusCode=0, operation=PNHeartbeatOperation, tlsEnabled=false, uuid=null, authKey=null, origin=null, clientRequest=null, affectedChannels=[*************], affectedChannelGroups=[], [email protected]406) It happens sometimes, but then we have to unsubscribe the channels and subscribe again. How to handle PNTimeoutCategory error encountered? And what is the cause ..

Read more

Getting the PNTimeoutCategory while trying to connect to PubNub Services. Following are the PNStatus category we receive. PNErrorData(information=null, throwable=com.pubnub.api.PubNubException), error=true, statusCode=0, operation=PNHeartbeatOperation, tlsEnabled=false, uuid=null, authKey=null, origin=null, clientRequest=null, affectedChannels=[*************], affectedChannelGroups=[], [email protected]406) Its happened sometime, but then we have to unsubscribe the channels and Subscribe again. How to handle this? when PNTimeoutCategory error encountered. and what are ..

Read more

I subscribe to all necessary channels in 2 places: // For receiving real time (regular) messages pubnub.subscribe().channels(channels).execute(); and for Push pubnub.addPushNotificationsOnChannels() .pushType(PNPushType.FCM) .channels(channels) .deviceId(firebaseMessageingTokenForThisUser) When I send messages I specify data for Push as well: PushPayloadHelper pushPayloadHelper = new PushPayloadHelper(); // set FCM payload pushPayloadHelper.setFcmPayload(fcmPayload); // Set APNs payload pushPayloadHelper.setApnsPayload(apnsPayload); // Common payload for realtime ..

Read more