Skip to content

Commit 4097722

Browse files
author
Max Presman
committed
update titanium demo
1 parent d9c8a9a commit 4097722

File tree

4 files changed

+2858
-2543
lines changed

4 files changed

+2858
-2543
lines changed
55.8 KB
Loading

titanium/examples/mobile/chat-example-app/Resources/pubnub-chat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ var isAndroid = Ti.Platform.osname === 'android';
77
// INIT PUBNUB
88
// ----------------------------------
99
var pubnub = require('pubnub')({
10-
publish_key : 'demo',
11-
subscribe_key : 'demo',
10+
publish_key : 'demo-36',
11+
subscribe_key : 'demo-36',
1212
ssl : false,
13-
origin : 'pubsub.pubnub.com'
13+
native_tcp_socket: true
1414
});
1515

1616
// ----------------------------------

0 commit comments

Comments
 (0)