GCM XMPP Server using Smack 4.1.0
I'm trying to adapt the example provided here for Smack 4.1.0. and getting a little confused. Specifically I'm struggling to understand what the GcmPacketExtension should now extend, how the constructor should work and how the Providermanager.addExtensionProvider should be updated to tie in with it. I'm sure someone must have done this before but I can't find any examples and I seem to be going round in circles using just the documentation. Any help would be much appreciated, I'm sure the answer is very simple! Current Code (is compiling but not running): static { ProviderManager