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
5
votes
1 answer

How to get the message sender UUID/metadata from pubnub history?

I want to know who sent the messages when retrieved from the pubnub.history! pubnub.history() only returns timetoken and the message.
Ash0ur
  • 1,505
  • 2
  • 8
  • 11
5
votes
1 answer

PubNub on worker thread

TL;DR see below A core feature of my android application is to broadcast the user's current location in a foreground service that continues to run after being unbound from the activity. I have everything working fine in terms of publishing to a…
5
votes
1 answer

PubNub security against someone reverse engineering an android app

My app initializes PubNub with a hard-coded subkey and pubkey, then subscribes/publishes to a channel. How can I prevent someone from reverse engineering my app, collecting the sub/pub keys, and publishing garbage information to my channels?
Blaasd
  • 315
  • 3
  • 16
5
votes
3 answers

Using PubNub with React Native

Has anybody been able to integrate PubNub with React Native? The PubNub support team told me to use the pubnub_browserify package and it should work. However when I do require('pubnub_browserify') I get an error that the http module could not be…
Fenda
  • 1,385
  • 3
  • 14
  • 24
5
votes
1 answer

PubNub EON chart not Rendering Data

I am trying to render a spline chart with PUBNUB EON charting library. I do not understand what is going wrong here. I can see the data in console, but the chart is not rendering, there are only x and y axis lines. I am getting the data from python…
Imo
  • 1,455
  • 4
  • 28
  • 53
5
votes
1 answer

Android pubnub chat using parse giving incorrect authentication key error

I am working on an android application. In my app I have to implement pubnub chat with parse.com. I found the following code. github link Successfully integrated project in Android studio.After login , when I started chat message is not senting and…
sarath
  • 3,181
  • 7
  • 36
  • 58
5
votes
1 answer

Pubnub - unsubscribe all active users from a specific channel

Does anyone know if there's a Pubnub function to unsubscribe all the users from a channel at once? And I mean without manipulating the regular function pubnub.unsubscribe({ channel: 'my_channel', callback: function() { /* something */ } }); I…
Shaya
  • 2,792
  • 3
  • 26
  • 35
5
votes
2 answers

Laravel: Making a Real Time Application using Angular

I am starting to work with angular and am fascinated by the bi-directional data-binding capabilities and by its $http method, which lets me save changes in to my mysql database, without refreshing the page. Another thing I am currently fascinated by…
LoveAndHappiness
  • 9,735
  • 21
  • 72
  • 106
5
votes
4 answers

Android chat application guidance using Parse and PubNub

I am trying to create a simple Android chat app where a user can sign up and have a friends list to start conversations. I am planning on using Parse for the database backend and PubNub for the actual chat channels. I do not have much experience…
Ayrton Senna
  • 3,735
  • 5
  • 34
  • 52
5
votes
2 answers

PubNub or Pusher and storing data on my own server

I have a mobile application where users can talk to each others via a chat (user to user only, not chatroom). Today, everything is synchronous. We are considering switching the solution to something more "real time", maybe using PubNub or Pusher. We…
Flo
  • 311
  • 4
  • 15
5
votes
1 answer

Pusher versus PubNub for iOS

I am looking for pros and cons of Pusher versus PubNub specifically for iOS clients. In terms of resource utilization (battery drain, speed, etc) and delivery reliability. It appears that PubNub has an official iOS library but the Pusher library is…
Joel
  • 15,654
  • 5
  • 37
  • 60
5
votes
1 answer

How to use PubNub in an Android app?

I am trying to develop an Android app for social media sharing. I know how PubNub uses cloud servers to share data with lightening fast speed and a security. I want to use it in my app. If there is an API, let me know how it works.
Prasad Akmar
  • 145
  • 1
  • 2
  • 10
5
votes
5 answers

How to integrate Angular.js with a realtime messaging service like Pusher or PubNub?

Is it possible to define Pusher or PubNub as an Angular Service? Does someone have code examples of such an integration?
Franck
  • 4,575
  • 3
  • 15
  • 4
4
votes
3 answers

PubNub Rails example application

Is there a PubNub example application built on Rails out there? I'm having a hard time finding one, but it would really helpful in order for me to figure out how to configure PubNub on Rails. Anything along the lines of some sort of chat application…
varatis
  • 14,494
  • 23
  • 71
  • 114
4
votes
2 answers

How to create single jar file from github tree?

For example, the Java API for pubnub is at https://github.com/pubnub/pubnub-api/tree/master/java I want to create a single jar file from all the java files in the subfolders. What is the most straight-forward way to do that?
Hristo Hristov
  • 4,021
  • 4
  • 25
  • 37
1 2
3
73 74