-
and client's connectionConfiguration have to setServerHost and setServerPort ,Otherwise, the link will fail.
It will fail without that if your server doesn't have proper DNS SRV records for client-to-server connections (SRV records for
_xmpp-client._tcp.
).Yes, you need to use following method to create instance of
MucModule
:- for
master
branchMucModule(roomManager: DefaultRoomManager(store: DefautRoomStore()));
- for
stable
branch as a parameter forroomsManager
parameter ofinit()
method you need to pass instance ofDefaultRoomsManager
which requires implementation of aRoomStore
but due we do not provide default implementation of this class in this version of the library.
Finally, I want to know which one means that the client has logged in successfully, whether the registration success or the verification success is successful.
For registration, I would suggest to use
AccountRegistrationTask
which accepts in the init() method a callbacks for handling SSL validation, and registration results.For checking when client logged in in
master
branch you need to observestate
property ofXMPPClient
. Forstable
branch you need to observe events which are documented at https://docs.tigase.net/tigase-swift/master-snapshot/Tigase_Swift_Guide/html/#_simple_client_sending_message - for
-
-
Our server uses tigase's very old redevelopment version. I want to know whether there will be incompatibility if I use master. Previously, I used smack open source framework in Android development, but I found that there seems to be incompatibility between tigase and the packages sent in smack. So now I consider replacing IOS and android with tigase open source libraries, I'm really in a dilemma now
hi there: I'm trying Tigase's Xmpp service for the first time, and I have to say it's amazing. It's more powerful and easy to use than Smack and Xmppframework. but i have a problem, in your documentation , client register MucModule just need call init , like this: