2

I found ways to set UUID in java,ios but can't find a way to setUUID in GWT api (com.pubnub.gwt.api.client.Pubnub)

gndp
  • 231
  • 2
  • 12
  • refer this [http://stackoverflow.com/questions/3759590/generate-uuid-with-gwt]. This might help you. – Azeez Jun 05 '14 at 13:57
  • i'm not talking about generating any random UUID but setting a UUID to com.pubnub.gwt.api.client.Pubnub object by "pubnub" api. Like in ios this is the api: [PubNub setClientIdentifier:(NSString *)identifier]; // Change UUID but i can't find similar api for GWT. – gndp Jun 05 '14 at 21:02
  • 1
    @gndp PubNub will enable this functionality for you, please standby. – Geremy Jun 05 '14 at 22:52
  • @Geremy can you provide ETA? – gndp Jun 06 '14 at 06:28
  • @gndp please contact us at support@pubnub.com so we can best prioritize this for you. – Geremy Jun 06 '14 at 17:56

1 Answers1

3

Please try using pubnub gwt jar available here

https://github.com/pubnub/java/raw/gwt-uuid/gwt/3.3/api/PubnubGwt.jar

The uuid you want to set can be passed to init method . Sample usage here

https://github.com/pubnub/java/blob/gwt-uuid/gwt/3.3/examples/PubnubExample/src/com/pubnub/gwt/examples/client/PubnubExample.java#L101

'gwt-test-uuid' is the custom uuid in this case

devendram
  • 257
  • 1
  • 5