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

Tracking results of Async callbacks in Java

I am creating a REST API which makes a API Call in a loop. Something like this: @RequestMapping(value = "/sendmessages", method = RequestMethod.POST) public ResponseEntity sendMessage(ModelMap model, …
Madhur Ahuja
  • 22,211
  • 14
  • 71
  • 124
0
votes
1 answer

Is there a way to send data via push notification that contains instruction for the system and does not require user input?

I am wondering if it possible to use push notifications as a way to give instruction to a device that requires not user input? Basically, I want to send a push notification to a network access device with a command, have the device perform the…
0
votes
2 answers

Json Parsing Android in Listview

I am working on application in which i am getting list of my history using pubnub which contains message and time token. The Original Json string is given…
Usman Khan
  • 3,739
  • 6
  • 41
  • 89
0
votes
2 answers

Use https connection for Facebook Canvas App

I'm actually developing a Facebook Canvas version of an app using PubNub, my problem is that Facebook is blocking all non-https connection, even PubNub send/receive message requests. Is there anyway to tell to the PubNub SDK to use https version of…
Najie
  • 39
  • 8
0
votes
1 answer

How to Create WebRTC + PubNub Open Source Video Chat,voice chat, using Javascript

Is it possible to Create live video and voice chat application in my website using WebRTC + PubNub. Any one can help me to find out a good existing code and how to integrate. I am using joomla 2.5. i need multiple and single channel video and audio…
Shine
  • 882
  • 8
  • 15
0
votes
1 answer

Trying to retrieve first string from PubNub history Response

I know that the response from the pubnub history() is: [["message","Message","message"],"Start Time Token", "End Time Token"] im creating an string to receive the response: String msg = response.toString(); And this should give me the full array,…
0
votes
1 answer

How do I detect whether an iOS/Android app was brought from the background in PubNub?

If an app is in the background, and the user receives the push, and the user taps on the notification, thus making the app active, how do I detect in PubNub whether the app was brought from the background as in this case? Help is much appreciated!…
John Doe
  • 1,005
  • 2
  • 8
  • 23
0
votes
1 answer

Rails + Pubnub Integration Architecture

I am new to Pubnub and real-time application. I wrote some ruby application before and I am currently research an option to integrate pubnub into my rails application. I read pubnub docs already and have an basic architecture in my head but not…
Dude from SF
  • 135
  • 7
0
votes
1 answer

Wait for callback to finish on during pubnub history() call on client reconnect

I have two channels for my subscribers: Broadcast and Unique channel. On the Broadcast channel I have all the Subscribers listening to. The Unique channel is for One-To-One communication between the Publisher and the Subscriber. I need to achieve…
vlatkorun
  • 127
  • 1
  • 15
0
votes
1 answer

How to implement pagination to display the history message using pubnub?

With the limit parameter in ngHistory() we can retrieve that number of messages. Is there any way to implement the pagination while loading the history message PubNub.ngHistory( { channel : $scope.channel, …
guny
  • 197
  • 4
  • 19
0
votes
1 answer

How to retrieve message based on uuid in PUBNUB?

How can we get the list of incoming messages to a particular user based on uuid ? What need is to show the list of message for a particular user based on uuid , from all the channel the user is subscribed? The requirement is to list the incoming…
guny
  • 197
  • 4
  • 19
0
votes
2 answers

didFinishLaunchingWithOptions not Showing Initial Alert (PubNub)

I am trying to create a PushNotification app and I am working with PubNub. I have gone through all of the necessary steps to: Include PubNub libraries on my workspace Create the proper provisioning profile for the App Ensured PushNotification was…
Kevin McFadden
  • 337
  • 1
  • 5
  • 23
0
votes
1 answer

Best practices for detecting when "user is typing" for chat functionalities?

I am currently using PubNub to handle the realtime aspects of chat, and plan to change a PNChannel's state when a user is typing or has completed typing. My question relates more to the client side of how something like an isTyping state can be…
daspianist
  • 5,336
  • 8
  • 50
  • 94
0
votes
1 answer

Message receive observers doesn't work after unsubscribing from channels

I'm checking for incoming messages in my AppDelegate.m, RootViewController.m and ViewControllerB.m . After the user opens the app (first launch - install), signs up then logs in, everything works correctly. 5 seconds or 50 min later (it doesn't…
rihekopo
  • 3,241
  • 4
  • 34
  • 63
0
votes
2 answers

Pubnub message receiveDate is nil when fetching messages on iOS

When fetching messages from Pubnub, its receiveDate is nil. Here's an example attached on what I'm doing: void (^completionBlock)(NSArray *pnMessages, PNChannel *channel, PNDate *fromDate, PNDate *toDate, PNError *error) = ^(NSArray *pnMessages,…
Diego Acosta
  • 1,737
  • 3
  • 16
  • 21