Questions tagged [pubnub]

PubNub offers a publish/subscribe API for realtime data stream messaging for IoT, mobile/web, chat, and games with modern platform supported with an SDK.

www.pubnub.com

PubNub is a secure global Data Stream Network (DSN) and easy to use API that enables our customers to build, scale, and manage real-time functionality for their applications and IoT devices. With over 70 SDKs for every platform, guaranteed 250ms worldwide data transfer times, and scalability for hundreds of millions of devices, PubNub’s unique infrastructure gives you the ability to easily build and operate world-class real-time applications and IoT devices.

PubNub utilizes a Publish/Subscribe model for realtime data streaming and device signaling and supports all of the capabilities of WebSockets, Socket.IO, SignalIR, WebRTC Data Channel and other streaming protocols. With PubNub, developers can dramatically reduce the cost, complexity and time to deliver realtime experiences.

Useful Links

1104 questions
0
votes
1 answer

PubNub push notifications won't display

I've got this code set up in my AppDelegate's didFinishLaunchingWithOptions: PNConfiguration *pnConfiguration = [PNConfiguration configurationWithPublishKey:publishKey …
Erik
  • 2,500
  • 6
  • 28
  • 49
0
votes
2 answers

PubNub usage, Swift 2.0 update "Ambiguous use of 'subscript'" + "Sorted"

func client(client: PubNub, didReceiveMessage message: PNMessageResult) { if message.data.subscribedChannel == self.channel { if let messageInfo: AnyObject = message.data.message { let type = (messageInfo["type"] as! String)…
J A S K I E R
  • 1,976
  • 3
  • 24
  • 42
0
votes
1 answer

Error: com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/pubnub/api/AbstractLogger.class

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/pubnub/api/AbstractLogger.class i am facing this error while…
0
votes
1 answer

Pubnub Time to Live (TTL)

How to I set a TTL on a published message to a channel? I have been through the API docs on the website but I cannot seem to find any documentation, only a note for Pubnub APNs.
Shaun
  • 11
  • 1
0
votes
1 answer

Pubnub Sending not equal to receiving?

From my PI I send a message through pubnub that contains the sequince of Leds that have been burned. Weird enough I receive something different in my Android app. #! /usr/bin/env python # import random import time import sys from time import…
0
votes
2 answers

Cannot send/receive PubNub Push-Notifications to iOS

I'm trying to implement Push-Notifications with this tutorial. Chat with PubNub works perfectly. I can also send and receive Push-Notifications with this script, but only with the development-certificate, so I submitted this to PubNub. (does anybody…
0
votes
1 answer

Cannot get node.js to connect to pubnub from corporate network

I cannot get the pubnub node.js starter program here (https://github.com/pubnub/javascript/tree/master/node.js) to work. I keep getting FAILED! RETRY PUBLISH! { message: 'timeout' } so it looks like some kind of network issue. I am behind…
cactusme
  • 143
  • 7
0
votes
1 answer

PubNub iOS app doesn't receive push notifications

I'm on the latest, trial version of PubNub on iOS 8+, Xcode 7.3, trying to build a chat app. I'm evaluating PubNub as an alternative to another chat server. I've followed the instructions in the PubNub docs about Apple Push Notifications, but my app…
johncougar
  • 276
  • 2
  • 3
  • 10
0
votes
0 answers

Pubnub : Unexpected end of file from server

What is this error and how do I resolve it? It has been happening a lot recently. [Error: 128-0] : Unable to get Response Code. Please contact support with error details. :…
searcot jabali
  • 438
  • 6
  • 16
0
votes
1 answer

Can't receive PubNub message unless I publish a message first

In my Swift application, I instantiate PubNub on viewDidLoad with the correct configuration and then join a channel. However, it looks as if it doesn't join the channel at all unless I fire the Send button action to send a message (I threw the…
winston
  • 3,000
  • 11
  • 44
  • 75
0
votes
0 answers

Pubnub Micro servo Control with Raspberry Pi

I have been following this tutorial Building a Model Smart Home with Raspberry PI and I have noticed that the Micro Servo part is not there. Could someone help me with it? I have written some code so far, but it is disastrous. I only need to control…
KnalexAlex
  • 11
  • 1
  • 3
0
votes
1 answer

PNAccessDeniedCategory for sending the message in pubnub objective c

I am trying to send the message by using pubnub. But it gives me error for : PNAccessDeniedCategory I am not finding any solution how to solve this. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary…
iOS developer
  • 131
  • 1
  • 1
  • 9
0
votes
2 answers

How PubNub publish subscribe works internally in iOS (client side)

I wanted to know what technology it uses to deliver real time messages iOS given all the os limitations. There are few of them comes to my mind are Periodic polling Persistent connection to server such as websocket or xmpp Push Notification Do its…
hridayesh
  • 1,123
  • 1
  • 14
  • 36
0
votes
2 answers

Pubnub for chat in ios

There is project which have chat feature which is been done by using PubNub. I had gone through the tutorial provided by PubNub and had integrated the pubnub.framework and CocoaLumberjack in my project. And had added the coded as shown in this…
iOS developer
  • 131
  • 1
  • 1
  • 9
0
votes
0 answers

python - Error while importing PubNub

When I am trying to import the pubnub library, I am getting the following error. I am not able to understand the cause of the problem. Please help. >>> import pubnub Traceback (most recent call last): File "", line 1, in
Some Name
  • 307
  • 2
  • 11