how to hide pubnub keys when using JS

I opened a ticket in pubnub and also read: https://help.pubnub.com/entries/22251291-Can-I-Hide-my-Application-Keys- But I still can't understand how can I stop the user from seeing my keys as it...

Unable to unsubscribe from pubnub in android

I have used unsubscribe(channelname) to unsubscribe from pubnub but my android application is unable to unsubscribe from this channel. I am getting messages from this channel. I have used...

Why isn't my cocoapods post_install hook updating my preprocessor macros?

I've been going round and round for a couple days now trying to figure out why my post_install hook isn't producing the output I'm expecting. Here's my Podfile: source...

Secure Pubnub subscriber key and channel name

I have an application where each user must receive notifications relevant only to themselves. To do this, I have created a unique channel name for each user. I subscribe to this channel when the...

Can't publish data from CC3100 + MSP430F5529 on PUBNUB

I followed the following tutorial: http://www.pubnub.com/blog/pubnub-streaming-texas-instruments-iot/ step by step and I managed to compile and code and connect to my Wi-Fi access point. I think I...

Gradle build (Android project) is very slow

I have a gradle build that has 32 flavors and builds for 5 hours? Here is my build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 17 buildToolsVersion...

TypeError: $(...).carousel is not a function

I know this has been asked in many questions, but the most common answer that jQuery isn't loaded doesn't work for me. It seems my jQuery is being loaded properly (version 1.10.2). I am trying to...

Real-time user notifications from backend with PubNub, scalability, and over 9000 chat rooms

I'm working on a pretty fun web app project that can become rather big, and I have a chance to play around with this handy thing called PubNub as main real-time engine of application. So it's a...

Sending notification to Android device. Sent but not received

I am getting familiar with sending notifications to devices, I am currently trying to send a notification to my device using pubnub and Google cloud messaging: (function() { var pubnub =...

Native Android WebRTC application development

I am trying to create an android application for video chat and messaging by using WebRTC Native APIs. I have been through several links and found out that most of the documentation for android is...

how to delete pubnub chat message history,ios

In my App there is PubNub used for Chat function,and for delete chat history,there is Web service,In app chat history clear successfully,but when application in background state and another user...

Passing variables from Flask to JavaScript

I looked at similar forums but was not able to get any of the solutions to work. I am trying to pass variables from Flask to my JavaScript file. These values then will be used for PubNub from my...

Amazon Echo to Raspberry Pi

How can we direct a Amazon Echo intent to a private/internal https endpoint? Like a raspberry pi running nodeJS. Using an "Echo Proxy" still requires to have the service accessible from internet...

~Pods/Headers/Public/Google/Google/SignIn.h:1:9: 'GGLCore/GGLCore.h' file not found

OS 10.10.5 xcode 7.2 Objective-C iOS 9.2 CocoaPods 1.0.1 pod 'GoogleMaps' pod 'Google/SignIn' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' pod 'FBSDKShareKit' pod 'AFNetworking' pod 'MBProgressHUD', '~>...

Gradle unable to resolve dependency

I am trying to develop an Android app using Pubnub's realtime API facilities. As per the documentation we need to add a gradle dependency line below within the build.gradle file: compile...

GET http://localhost:4200/null 404 (Not Found) in angular2 with angular-cli

I'm working with angular2 project with angular-cli. Today I updated version of below to 2.4.1. "@angular/common": "~2.4.1", "@angular/compiler": "~2.4.1", "@angular/compiler-cli":...

Error type 3 - Activity class does not exist

I'm trying to run webRTC application but the error below returned: Launching application: com.onlinevoicecallapp/com.onlinevoicecallapp.MainActivity. DEVICE SHELL COMMAND: am start...

Getting messages in chat history to display in messenger Pubnub

I have come to post this question after 2 days of torture not being able to understand how I can actually publish the historic messages stored on my pubnub storage account. To try and understand...

PubNub - iOS - Carthage only?

Question for someone who's quite fresh with PubNub and iOS-Swift, as of today can you put PubNub in a project, entirely, absolutely *not using* cocoapods in any way? So, pure Carthage? (PubNub's...

WebRTC Voice Chat Using Firebase

I have never tried webrtc before. I have an application made using Firebase. Now I'm trying to add voice call feature in it. So tried searching for some tutorials, Most are using PubNub or most...

Browser notification using AWS SNS

I am new to Amazon services. I already used FIREBASE and PUBNUB for browser notification in other applications. I would like to build browser notification like FIREBASE or PUBNUB using AWS...

APNS2 error 400: DeviceTokenNotForTopic - Getting this error when sending Push Notification via PubNub

As the title says, I am getting APNS2 error 400: DeviceTokenNotForTopic When trying to send notification to apple device from PubNub console and listening to the events on -pndebug...

Could not find a version that satisfies the requirement ItsDangerous==1.0.0. Django, Pythonanywhere

When I try to deploy my application to pythonanywhere, the following error it is returned. Could not find a version that satisfies the requirement ItsDangerous==1.0.0 How can I solve it? I...

Carthage Bootstrap Build Fails "exit code 1"

The version of swift on my machine 5.0.1. The swift version of the project is 4.0. My xcode version is 10.4 I run carthage bootstrap --platform ios in the root directory. *** Checking out...

Request Push Notification Permissions for Cordova iOS and Android?

I'm stuck and would greatly appreciate your help. Details I have a working React/Cordova app. I'm using PubNub to publish APNS and FCM notifications. I'm using cordova-plugin-device to obtain the...

How to stub a node module in Cypress?

I am able to mock modules using jest easily like: import * as PubNub from 'pubnub'; jest.mock('pubnub', () => jest.fn().mockImplementation(() => { mockPubnubInstance = { ...

Dependency confliction in gradle

I am getting this confliction error in retrofit: java.lang.RuntimeException: Duplicate class com.google.gson.DefaultDateTypeAdapter found in modules...

Cannot read property 'animateMarkerToCoordinate' of undefined

import React from 'react'; import { StyleSheet, View, Dimensions, Platform, SafeAreaView } from 'react-native'; import MapView, { Marker, AnimatedRegion } from 'react-native-maps'; import...

Google Map Places Autocomplete error 429 in android

I am facing 429 error code in google map places api while every thing is ok.I have billing account and also restricted my api but i get the following error. { "error": { "code": 429, "message":...

PubNub Push Registration with PushKit token in iOS swift

I'm working on an iOS swift project in which I need to integrate video call and chat using WebRTC and PubNub, I'm using PubNubSwift SDK version 3.0.1 for PubNub. I have integrated the video call...