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 dev console doesnt work at my company intranet, php publish neither

i want to implement pubnub at my company (i'am currently developping a workflow website). SSL and authentification are used. On a test page, i used javascript library to subscribe to pubnub with my id, a callback works perfectly when i publish via…
Aureltime
  • 373
  • 3
  • 10
0
votes
2 answers

Based on my scenario should i go WebSockets or XmlHttpRequest or both?

I am about to make a turn-based game in the Monkey language (Cross-platform translator). The game will use the HTML 5 platform. This game will play online where players can match against each others (It can be a 2vs2 match). I recently reviewed a…
Rushino
  • 9,415
  • 16
  • 53
  • 93
0
votes
1 answer

GWT Script Injection Failure with PubNub

New to GWT but I love it so far. I do have a problem that's easy to reproduce. It is a big problem for me because I want to create a GWT Module for PubNub - a utility we use internally. I created a demo project to test out encapsulation and I have…
CharlieY
  • 173
  • 1
  • 1
  • 9
0
votes
1 answer

Presence, PubNub + Ruby

I'm trying to use the presence features of PubNub and relay the info received back as a normal message. Below is my subscribe function that is working properly as well as my here_now that doesn't give me anything. I guess what I'm wondering is how…
oskare
  • 1,061
  • 13
  • 24
0
votes
1 answer

Pubnub Addon on Heroku

As per the below link, heroku does provide us the addon for pubnub. https://addons.heroku.com/pubnub However, there is no information on support of number of connections in each pacakage. Can someone provide me the information on this? or Are Number…
Abdul Azeez
  • 1,073
  • 4
  • 13
  • 21
0
votes
1 answer

Pubnub multiuser chat

I am developing a multi-user chatting system in php. I know about push and pull, reverse ajax, comet etc. but mostly we have to configure over our server. However, I can't access my server to install those scripts because I have shared hosting…
Bhavesh G
  • 3,000
  • 4
  • 39
  • 66
0
votes
1 answer

pubnub test application crashes: NoClassDefFound

this is a copy of my question on Pubnub support page: Hi all, I tried running the PubnubTestApp that is downloadable with the Pubnub API from your git repo. but when I try and start the test app i firstly get a build path error because apparently…
thepoosh
  • 12,497
  • 15
  • 73
  • 132
0
votes
1 answer

Chat with REST and PubNub push Architecture

My main use case for a chat application is that one agent will typically talk to one guest. At most I am planning on supporting a low-single-digit number of guests and agents, but the use of such a feature would be very low. More importantly though,…
Wayne Bloss
  • 5,370
  • 7
  • 50
  • 81
0
votes
1 answer

how to get list of subscribers for a particular channel on pubnub

I am writing an application in titanium by making use of pubnub. I need to get the device id or any specific details of all people who are subscribed to a particular channel. Please let me know how do I get the device id of all sudcribers to a…
Niv
  • 59
  • 1
  • 4
-1
votes
1 answer

How to Populate MessagesList UI with messages i got from PubNub fetchMessagesHistory function in Swift

I am able to fetch the history messages for a channel and I need to put the array of those messages into the prebuilt UI MessagesList that they gave me, they mention in their docs that I should override or subclass but how to do that exactly? I am…
-1
votes
1 answer

android kotlin pubnub sdk sometimes does not work

I am using pubnub android kotlin sdk for chat function. However i have 3 different fragments on which i use pubnub's functions. H ence i have created a service which listens to incomings events from pubnub and post it on fragments as a part of…
java bee
  • 115
  • 3
  • 15
-1
votes
1 answer

DART: Communitacation beetween Threads

I'm trying to create a Dart program that will invoke multiple threads or Isolates. I need communication between this threads or Isolates, I have seen that there are some kind of channels and isolated channels (channels that work with ReceivePorts)…
-1
votes
1 answer

How to publish data as Dictionary with type Any in pubnub with swift?

I am using pubnub sdk for socket stuff. My problem is I want to send the data dictionary format with type any but while I am trying to do so the compiler is saying like: Value of protocol type 'Any' cannot conform to 'JSONCodable'; only…
user10469417
-1
votes
2 answers

Flutter Pubnub version solving failed

got this exception when I add pubnub: ^1.4.4 into pubspec.yaml Because pubnub >=1.0.2 <3.2.0 depends on dio ^3.0.0 and talad_flutter depends on dio ^4.0.0, pubnub >=1.0.2 <3.2.0 is forbidden. So, because talad_flutter depends on pubnub ^1.4.4,…
-1
votes
1 answer

How to consume PubNub chat messages in Flutter?

I'm new to Flutter and want to incorporate a chat functionality in a Flutter mobile application using PubNub. I was able to send messages to PubNub, but I'm struggling to consume the messages sent by other users. I found an example here: Flutter…
aldo_vw
  • 608
  • 6
  • 17