In XMPPReconnect module it is used:
SCNetworkReachabilitySetCallback(reachability, ReachabilityChanged, &context);
If this function is called apple's example stop to work and no other class get the notification center notifications.
Maybe should the reconnect class use the apple code ??
This has been subsequently fixed by renaming ReachabilityChanged to XMPPReconnectReachabilityCallback