Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

XEP-0004

$
0
0

Hi...

I have never done this before, so here goes....

I need to submit a XEP-0004 form using SMACK....

The info I need to submit is as follows. It is used to submit your GCM key for use with mod_push:

 

<iqtype='set'to='example.net'id='exec1'>

  <commandxmlns='http://jabber.org/protocol/commands'

   node='register-push-apns'

   action='execute'>

  <xxmlns='jabber:x:data'type='submit'>

  <field

   var='token'>

  <value>r3qpHKmzZHjYKYbG7yI4fhY+DWKqFZE5ZJEM8P+lDDo=</value>

  </field>

  <fieldvar='device-name'><value>Home</value></field>

  </x>

  </command>

</iq>

 

Can anyone show me how to submit with SMACK API forms? Please?

Thanks....

Michael.


Viewing all articles
Browse latest Browse all 4979

Trending Articles