Tutorial by Examples

For JavaScript, here is the code we recommend for generating, persisting and retrieving a UUID. This could be wrapped in a function can called directly from the PUBNUB.init function rather than the two step inline solution below. // get/create/store UUID var UUID = PUBNUB.db.get('session') || (fun...
For Android, here is the code we recommend for generating, persisting and retrieving a UUID. There is not constructor that accepts the UUID as a parameter, so you must instantiate Pubnub object first then use the setter to provide the UUID. // creating the Pubnub connection object with minimal args...

Page 1 of 1