Using multiple client libraries

Hi, i am currently developing my android app that is using the smack 4.1 library to communicate to my ejabberd server on an AWS EC2 instance, everything looks good so far, however i am looking to add a python/flask web service to handle some server side functionality and was wondering whether it is ok to use this service to also communicate with the ejabberd server using sleekxmpp. What i mean more explicitly is will i encounter any problems using 2 different xmpp libraries in the form of smack and sleekxmpp when communicating to my ejabberd server?

Thanks for the help

You will not have any issue

You will not have any issue communicating with two libraries on ejabberd. ejabberd supports XMPP standards. That's what standards are for. The type of client library you use does not matter to ejabberd.

Note that writing extension maybe be better with Jabberd Component protocol (XEP-0114), but that actually depends on your requirements for your external service.

Syndicate content