0
votes

is the user should be existing in the roster to be able to message with that user using XMPP in iOS? if then is it possible to use XMPP without a roster? (to send and receive messages with any random users)

Thanks.

1

1 Answers

1
votes

yes its possible to send XMPP messages to any user without roster, you only need to have other user's JID.

xmpp clients won't let you send direct messages due to spam protection policy, but if your app is used on both sides than this can be easily achieved!